From: Mike S. <log...@pe...> - 2003-06-22 03:26:43
|
On Fri, 20 Jun 2003, Kevin Goess wrote: > Since the point of JavaMap::RollingFileAppender is to be API-compatible > with the log4j module, it should continue to accept the parameter in > bytes and translate to megabytes when it calls the Log::Dispatch module. Good catch, thanks, I've checked in the fix. BTW, if we wanted to be fully compatible, we'd have to add support for the following, too (out of log4j): In configuration files, the <b>MaxFileSize</b> option takes an long integer in the range 0 - 2^63. You can specify the value with the suffixes "KB", "MB" or "GB" so that the integer is interpreted being expressed respectively in kilobytes, megabytes or gigabytes. For example, the value "10KB" will be interpreted as 10240. > And don't forget to change the required version number of FileRotate if > we're requiring the latest version. Another good catch, 1.09 is now required both in JavaMap/RollingFileAppender and in the test case. Pushed 0.35 to the web site for beta testing ... -- Mike Mike Schilli log...@pe... http://perlmeister.com http://log4perl.sourceforge.net |