This topic has been archived. It cannot be replied.
-
工作学习 / 专业技术讨论 / 有关Log4j的问题. If the appender has to be set to DailyRollingFileAppender, is there any way to also set the size of the file ? If not, how to open a huge log file expecially in Window environment ? Thx.
-catwoman(catwoman);
2006-10-10
(#3255249@0)
-
Cygwin/split
-justlistening(聆风);
2006-10-10
(#3255422@0)
-
something like <param name="MaxFileSize" value="500KB"/>
-heeltoe(不過三);
2006-10-11
(#3255562@0)
-
as far as i know, you can set file size for RollingFileAppender but not DailyRollingFileAppendor. You might want to change the DatePattern to reduce the file size, such as, roll the log file every hour.
-zyxwvu(Its2warm);
2006-10-11
(#3255873@0)
-
Interesting. That's exactly what I am doing, using Cygwin in my workstation and rolling every hour. Thanks a lot.
-catwoman(catwoman);
2006-10-11
(#3256932@0)