I would suggest trying without file locking first.

On Sat, Jun 25, 2016 at 4:01 PM, Ralph Goers <ralph.go...@dslextreme.com>
wrote:

> In order for multiple processes to share a log file os file locking has to
> be used, which impacts performance considerably. Furthermore, only a
> regular FileAppender can be used. You really can’t share a rolling file
> safely as both processes may try to roll the file at the same time.
> Furthermore, if one of the processes fails to specify file locking should
> be used then the file will likely get corrupted on some systems.
>
> Ralph
>
> > On Jun 24, 2016, at 11:28 PM, Jochen Wiedmann <jochen.wiedm...@gmail.com>
> wrote:
> >
> > Hi,
> >
> > is it possible. that multiple proceses share a common log file. (The
> > processes aree command line executables, ,which will be started at
> > unpredictable times.
> >
> > Thanks,
> >
> > Jochen
> >
> >
> > --
> > The next time you hear: "Don't reinvent the wheel!"
> >
> >
> http://www.keystonedevelopment.co.uk/wp-content/uploads/2014/10/evolution-of-the-wheel-300x85.jpg
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
> > For additional commands, e-mail: log4j-user-h...@logging.apache.org
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
> For additional commands, e-mail: log4j-user-h...@logging.apache.org
>
>

Reply via email to