Hi, yes, as user warp I’m able to write manually to the log file. And yes, the application is running as user warp. On the host where the application is running we don’t have problems with logging, also rolling the log file (by size and date) is working fine. Stopping and starting the application is also no problem. Only when doing this from a remote host.
Best regards, Michael Fankanowsky Von: logback-user <[email protected]> Im Auftrag von Jonas Gröger Gesendet: Montag, 13. Mai 2019 13:24 An: logback users list <[email protected]> Betreff: Re: [logback-user] No logfile when starting application from a remote host Can you write the file manually as warp? su warp echo test >> /opt/pegasus/PREMAINT/logs/watchdog.log Also: is your application running as use warp? On 13. May 2019, at 12:49, <[email protected]<mailto:[email protected]>> <[email protected]<mailto:[email protected]>> wrote: warp@q4de3gsy593:~> namei -l f: /opt/pegasus/PREMAINT/logs/watchdog.log drwxr-xr-x root root / drwxr-xr-x root root opt drwxr-xr-x warp users pegasus drwxr-xr-x warp users PREMAINT drwxr-xr-x warp users logs -rw-r--r-- warp users watchdog.log warp@q4de3gsy593:~> whoami warp Von: logback-user <[email protected]<mailto:[email protected]>> Im Auftrag von Jonas Gröger Gesendet: Montag, 13. Mai 2019 12:30 An: logback users list <[email protected]<mailto:[email protected]>> Betreff: Re: [logback-user] No logfile when starting application from a remote host Try the following and attach here : namei -l /path/to/logfile whoami On 13. May 2019, at 12:12, <[email protected]<mailto:[email protected]>> <[email protected]<mailto:[email protected]>> wrote: Hi, we are using a shell script to start/stop the application and calling this script from remote is working fine. Best regards, Michael Fankanowsky Von: logback-user <[email protected]<mailto:[email protected]>> Im Auftrag von Ceki Gülcü Gesendet: Montag, 13. Mai 2019 11:55 An: logback users list <[email protected]<mailto:[email protected]>> Betreff: Re: [logback-user] No logfile when starting application from a remote host access right issue? -------- Original message -------- From: [email protected]<mailto:[email protected]> Date: 5/13/19 11:32 (GMT+01:00) To: [email protected]<mailto:[email protected]> Subject: [logback-user] 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 _______________________________________________ logback-user mailing list [email protected]<mailto:[email protected]> http://mailman.qos.ch/mailman/listinfo/logback-user _______________________________________________ logback-user mailing list [email protected]<mailto:[email protected]> http://mailman.qos.ch/mailman/listinfo/logback-user
_______________________________________________ logback-user mailing list [email protected] http://mailman.qos.ch/mailman/listinfo/logback-user
