logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sharath Gururaj <e2718...@gmail.com>
Subject FileAppender append="false" does not truncate the file on startup
Date Tue, 01 Sep 2015 17:50:00 GMT
        <File name="MyFile" fileName="app.log" append="false" >

            <PatternLayout pattern="%d{HH:mm:ss.SSS} %-5level %l - %msg%n"
/>

        </File>


I expect app.log to be truncated on my application startup.

This is not the case. It is never truncated. Please help


Thanks

Sharath

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