[JBoss] Spring Boot logging (File Output) working fine in Tomcat server but not working in...

Discussão em 'StackOverflow' iniciado por Stack, Agosto 12, 2021.

  1. Stack

    Stack Membro Participativo

    I am working on Spring boot application (version - 2.5.0) which is deployed locally on Tomcat server (v9.0). My requirement was to introduce writing logs to a File. I have taken reference from:

    https://docs.spring.io/spring-boot/...ogging.html#boot-features-logging-file-output

    and, https://stackoverflow.com/a/60174823/14258174

    I have written below in my application.properties:

    logging.file.name=C:/logs/myapp.log


    This started working absolutely fine on Tomcat server and logs started appending in myapp.log. But when I have installed my war file on jBoss server (EAP-7.3.0), it has created the myapp.log file in the specified location but not appending the logs in that particular file.

    So please help me resolve this issue.

    Continue reading...

Compartilhe esta Página