Hi All,
Subject: logback generates two log files
i am using Rollingfile appender and Time based rolling policy for one of the
app., it generates two files one with the log file (sample.log) and the other
with yesterday's date (sample-2014-07-27.0.log). Appreciate if anybody help on
this.
That did the trick, thanks!
On May 27, 2014 2:09 AM, "Tony Trinh" wrote:
> Hello Jeremy,
>
> You mention a size-based policy, but I only see a time-based policy in
> your config.
>
> The following patterns should work for RollingFileAppender. The code
> snippets are based on the code you pasted,
Hello Jeremy,
You mention a size-based policy, but I only see a time-based policy in your
config.
The following patterns should work for RollingFileAppender. The code
snippets are based on the code you pasted, and I did not test them. Please
let me know if they work for you.
-Tony
*Size-and-tim
I've been trying to get the rollinglogfileappender to roll-over at a
certain file size, but I've had no luck. I can get it to roll over at
midnight each night, but I still would prefer to either combine them or
have it just be file-size limited.
My config is such:
// Rolling Log Appender
String