warp@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@q4de3gsy593:~> whoami

warp

 

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

 

access right issue?

 

-------- Original message --------

From: Michael.Fankanowsky@t-systems.com

Date: 5/13/19 11:32 (GMT+01:00)

To: logback-user@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@qos.ch
http://mailman.qos.ch/mailman/listinfo/logback-user