[daemon] Problem with Working Directory

2018-03-06 Thread Gil Baruch
Seems like I hit a well known issue although I couldn't find documentation about it in the FAQ (unfortunately). It seems that Java does not fully support changing the working directory (AKA system property 'user.dir'). Some functionality, such as new File(relativePath) will not be affected by a

Re: [daemon] Problem with Working Directory

2018-03-07 Thread Gil Baruch
s.apache.org/proper/commons-daemon/procrun.html > > Gary > > On Tue, Mar 6, 2018 at 2:07 PM, Gil Baruch <gilbaruch.m...@gmail.com> > wrote: > > > Seems like I hit a well known issue although I couldn't find > documentation > > about it in the FAQ (unfortunately)

[Daemon] StdOut and StdErr use extra newline

2018-03-22 Thread Gil Baruch
I'm using the daemon to wrap my Jetty based service. I've redirected stdout and stderr to the Daemon via the relevant configuration params. However, both files end up with 2 newline characters (/r/n/r/n) which results in a very unreadable log... especially when dealing with stacktraces... Any

Re: [Daemon] StdOut and StdErr use extra newline

2018-03-23 Thread Gil Baruch
Maybe I was misunderstood, each line ends with two newlines not just the end of the file... So there's a gap of one empty line between every two lines... Thanks GBa. On Thu, Mar 22, 2018, 23:32 Gil Baruch <gilbaruch.m...@gmail.com> wrote: > I'm using the daemon to wrap my Jetty base