<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr"></div><div dir="ltr">Can you write the file manually as warp?</div><div dir="ltr"><br></div><div dir="ltr">su warp</div><div dir="ltr">echo test >> <span style="background-color: rgba(255, 255, 255, 0);">/opt/pegasus/PREMAINT/logs/watchdog.log</span></div><div dir="ltr"><span style="background-color: rgba(255, 255, 255, 0);"><br></span></div><div dir="ltr"><span style="background-color: rgba(255, 255, 255, 0);">Also: is your application running as use warp?</span></div><div dir="ltr"><br>On 13. May 2019, at 12:49, <<a href="mailto:Michael.Fankanowsky@t-systems.com">Michael.Fankanowsky@t-systems.com</a>> <<a href="mailto:Michael.Fankanowsky@t-systems.com">Michael.Fankanowsky@t-systems.com</a>> wrote:<br><br></div><blockquote type="cite"><div dir="ltr">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.E-MailFormatvorlage18
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.E-MailFormatvorlage19
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">warp@q4de3gsy593:~> namei -l <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">f: /opt/pegasus/PREMAINT/logs/watchdog.log<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">drwxr-xr-x root root /<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">drwxr-xr-x root root opt<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">drwxr-xr-x warp users pegasus<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">drwxr-xr-x warp users PREMAINT<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">drwxr-xr-x warp users logs<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">-rw-r--r-- warp users watchdog.log<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">warp@q4de3gsy593:~> whoami<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">warp<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b>Von:</b> logback-user <<a href="mailto:logback-user-bounces@qos.ch">logback-user-bounces@qos.ch</a>> <b>Im Auftrag von
</b>Jonas Gröger<br>
<b>Gesendet:</b> Montag, 13. Mai 2019 12:30<br>
<b>An:</b> logback users list <<a href="mailto:logback-user@qos.ch">logback-user@qos.ch</a>><br>
<b>Betreff:</b> Re: [logback-user] No logfile when starting application from a remote host<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Try the following and attach here :<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">namei -l /path/to/logfile<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">whoami<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
On 13. May 2019, at 12:12, <<a href="mailto:Michael.Fankanowsky@t-systems.com">Michael.Fankanowsky@t-systems.com</a>> <<a href="mailto:Michael.Fankanowsky@t-systems.com">Michael.Fankanowsky@t-systems.com</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Hi,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">we are using a shell script to start/stop the application and calling this script from remote is working fine.</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">Best regards,</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">Michael Fankanowsky</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b>Von:</b> logback-user <<a href="mailto:logback-user-bounces@qos.ch">logback-user-bounces@qos.ch</a>>
<b>Im Auftrag von </b>Ceki Gülcü<br>
<b>Gesendet:</b> Montag, 13. Mai 2019 11:55<br>
<b>An:</b> logback users list <<a href="mailto:logback-user@qos.ch">logback-user@qos.ch</a>><br>
<b>Betreff:</b> Re: [logback-user] No logfile when starting application from a remote host<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">access right issue?<o:p></o:p></p>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="color:black">-------- Original message --------</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">From: <a href="mailto:Michael.Fankanowsky@t-systems.com">
Michael.Fankanowsky@t-systems.com</a> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">Date: 5/13/19 11:32 (GMT+01:00) </span>
<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">To: <a href="mailto:logback-user@qos.ch">
logback-user@qos.ch</a> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">Subject: [logback-user] No logfile when starting application from a remote host
</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black"> </span><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Hi,<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US">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.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US">Does anyone have an idea concerning this behavior?</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US">Best regards,</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none">
<span lang="EN-US" style="font-size:10.0pt;font-family:"Arial",sans-serif">Michael Fankanowsky</span><o:p></o:p></p>
</div>
</div>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">_______________________________________________<br>
logback-user mailing list<br>
<a href="mailto:logback-user@qos.ch">logback-user@qos.ch</a><br>
<a href="http://mailman.qos.ch/mailman/listinfo/logback-user">http://mailman.qos.ch/mailman/listinfo/logback-user</a><o:p></o:p></p>
</div>
</blockquote>
</div>
</div></blockquote><blockquote type="cite"><div dir="ltr"><span>_______________________________________________</span><br><span>logback-user mailing list</span><br><span><a href="mailto:logback-user@qos.ch">logback-user@qos.ch</a></span><br><span><a href="http://mailman.qos.ch/mailman/listinfo/logback-user">http://mailman.qos.ch/mailman/listinfo/logback-user</a></span></div></blockquote></body></html>