AFAIK log4j always uses the system time, BUT you can manipulate the time being printed in the log file itself by using the log4j extras package and the EnhancedPatternLayout.
On Fri, Jul 10, 2009 at 11:20 AM, Brenner Rene <[email protected]> wrote: > Hello all > > I understand, that log4j uses an absolute time and reference time based on > the system time of the underlying operating system. > Is there a way to set a reference time to the log4j appender which is > different to the actual system time? On my system I use > a reference time which is only valid within the JVM environment. > > Thanks, > René > >
