I suggest you create a custom rolling file appender to do exactly what you need.
Regards,
Michael Erskine.
-
To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-user-h...@logg
efficient or safe to use if log file is
huge?
Hi,
I am using log4j 1.2.15. I am pondering between DailyRollingFileAppender
and RollingFileAppender.
For RollingFileAppender, I can enforce file size limit and MaxBackupIndex.
But for DailyRollingFileAppender, i can not limit either.
Aside from
Hi,
I am using log4j 1.2.15. I am pondering between DailyRollingFileAppender and
RollingFileAppender.
For RollingFileAppender, I can enforce file size limit and MaxBackupIndex. But
for DailyRollingFileAppender, i can not limit either.
Aside from being difficult to planing disk space usa
.
Thanks.
Shaoxian Yang
--
View this message in context:
http://old.nabble.com/Is-DailyRollingFileAppender-efficient-or-safe-to-use-if-log-file-is-huge--tp26157824p26157824.html
Sent from the Log4j - Users mailing list archive at Nabble.com
.
Thanks.
Shaoxian Yang
--
View this message in context:
http://old.nabble.com/Is-DailyRollingFileAppender-efficient-or-safe-to-use-if-log-file-is-huge--tp26157807p26157807.html
Sent from the Log4j - Users mailing list archive at Nabble.com
.
Thanks.
Shaoxian Yang
--
View this message in context:
http://old.nabble.com/Is-DailyRollingFileAppender-efficient-or-safe-to-use-if-log-file-is-huge--tp26157806p26157806.html
Sent from the Log4j - Users mailing list archive at Nabble.com
You should try to break down the big log file into different log
files, which will save messages for a specific category - these may be
groupped by packages, or the way you think it will make more sense.
You may not need a cool book that teaches it, you have to figure it
out which log messages mak
gt; Sent: Wednesday, March 15, 2006 5:37 PM
> To: 'Log4J Users List'; [EMAIL PROTECTED]
> Subject: log file is huge
>
>
> When projects starts to get bigger, the log file starts to
> get bigger too,
> and less readable.
>
> Is there any advice for this problem?
Options:
Split your logs into multiple files (By level or logger branch)
Look through your logs and determine if there is anything that you
want to remove by changing the configuration.
Use some type of rolling appender.
On 3/15/06, Pedro Costa <[EMAIL PROTECTED]> wrote:
> When projects starts to
When projects starts to get bigger, the log file starts to get bigger too,
and less readable.
Is there any advice for this problem?
Is there any book that teaches how to use log4j in big projects?
Thanks,
Pedro
-
To unsubscrib
10 matches
Mail list logo