I think writing to the same file is possible, but rollover will give unpredictable results. As long as you use the normal FileAppender (not RollingFileAppender) this should work.
Also do not use the RandomAccessFile appender, since both processes will overwrite each other's log files. On Sat, Jun 25, 2016 at 3: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 > >