You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Gil Baruch <gi...@gmail.com> on 2018/03/22 21:32:33 UTC

[Daemon] StdOut and StdErr use extra newline

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 idea what could cause that?

BTW, when using Jetty without the wrapper, Jetty's stdout and err do not
suffer from this behavior.

thanks,
GBa.

Re: [Daemon] StdOut and StdErr use extra newline

Posted by Gil Baruch <gi...@gmail.com>.
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 <gi...@gmail.com> wrote:

> 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 idea what could cause that?
>
> BTW, when using Jetty without the wrapper, Jetty's stdout and err do not
> suffer from this behavior.
>
> thanks,
> GBa.
>