No logfile when starting application from a remote host

Hi, we are using logback v1.2.3 in a Springboot application which is running on Linux. When starting the application locally on the Linux host, logfile is created and application logs to it. When starting the application from a remote host via ssh then no logfile is created. When restarting the application (logfile is present and application has been logging to it) from a remote host, then no log messages will be logged to the existing logfile. It is working when restarting the application locally on the Linux host. Does anyone have an idea concerning this behavior? Best regards, Michael Fankanowsky

Spring Boot is a magic. They probably expose some JMX endpoints but I know a way with Actuator endpoints, check in that order of importance: curl http://localhost:8080/actuator/env curl http://localhost:8080/actuator/loggers curl http://localhost:8080/actuator/ configprops On Mon, May 13, 2019 at 12:34 PM <Michael.Fankanowsky@t-systems.com> wrote:
Hi,
we are using logback v1.2.3 in a Springboot application which is running on Linux. When starting the application locally on the Linux host, logfile is created and application logs to it. When starting the application from a remote host via ssh then no logfile is created. When restarting the application (logfile is present and application has been logging to it) from a remote host, then no log messages will be logged to the existing logfile. It is working when restarting the application locally on the Linux host.
Does anyone have an idea concerning this behavior?
Best regards,
Michael Fankanowsky _______________________________________________ logback-user mailing list logback-user@qos.ch http://mailman.qos.ch/mailman/listinfo/logback-user
participants (2)
-
Michael.Fankanowsky@t-systems.com
-
Oleksandr Gavenko