logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arnold Morein <arnie.mor...@me.com.INVALID>
Subject Log4j2 files only have 2h of data
Date Tue, 21 Aug 2018 15:54:40 GMT
I have an application that used to be using logback APIs and is now on log4j2. It has several
log files configured like this:

    <PatternLayout pattern="${patternStr}" />
        <OnStartupTriggeringPolicy />
        <SizeBasedTriggeringPolicy size="${maxFileSize}" />

No matter how busy the given log is (some of which are very busy) only the last two hours
of data are present in the current file.

Is there some configuration item I have wrong? Or some buffering thing I don't know about?

  • Unnamed multipart/alternative (inline, None, 0 bytes)
    • Unnamed multipart/related (inline, None, 0 bytes)
View raw message