[logback-user] No logfile when starting application from a remote host

Michael.Fankanowsky at t-systems.com Michael.Fankanowsky at t-systems.com
Mon May 13 12:49:27 CEST 2019


warp at q4de3gsy593:~> namei -l /opt/pegasus/PREMAINT/logs/watchdog.log
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 at q4de3gsy593:~> whoami
warp

Von: logback-user <logback-user-bounces at qos.ch> Im Auftrag von Jonas Gröger
Gesendet: Montag, 13. Mai 2019 12:30
An: logback users list <logback-user at qos.ch>
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, <Michael.Fankanowsky at t-systems.com<mailto:Michael.Fankanowsky at t-systems.com>> <Michael.Fankanowsky at t-systems.com<mailto:Michael.Fankanowsky at t-systems.com>> 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 <logback-user-bounces at qos.ch<mailto:logback-user-bounces at qos.ch>> Im Auftrag von Ceki Gülcü
Gesendet: Montag, 13. Mai 2019 11:55
An: logback users list <logback-user at qos.ch<mailto:logback-user at qos.ch>>
Betreff: Re: [logback-user] No logfile when starting application from a remote host

access right issue?

-------- Original message --------
From: Michael.Fankanowsky at t-systems.com<mailto:Michael.Fankanowsky at t-systems.com>
Date: 5/13/19 11:32 (GMT+01:00)
To: logback-user at qos.ch<mailto:logback-user at qos.ch>
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
logback-user at qos.ch<mailto:logback-user at qos.ch>
http://mailman.qos.ch/mailman/listinfo/logback-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20190513/ae0f8498/attachment-0001.html>


More information about the logback-user mailing list