logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siddiq Hussain" <siddiq.huss...@slk-soft.com>
Subject Unable to create log file back ups on AIX
Date Thu, 08 Sep 2005 11:30:44 GMT
 Hello,

I am using log4j in my application as logging mechanism.It is working fine
on Windows.The problem is only when the application is in production
environment where it has to run on AIX operating system.It is not able to
create backups once the log file size is equal to size specified in
configuration file.

<appender name="code1" class="org.apache.log4j.RollingFileAppender">
		<param name="Threshold" value="info" />
		<param name="File" value="Code1.log" />
		<param name="Append" value="true" />
		<param name="MaxFileSize" value="1000KB" />
		<param name="MaxBackupIndex" value="15" />
		<layout class="org.apache.log4j.PatternLayout">
			<param name="ConversionPattern" value="%d{dd-MMM-yyyy hh:mm:ss} %-5p -
%m%n" />
		</layout>
	</appender>


Once the size of Code1.log reaches 1000kb ,new file should be created.It is
working fine on Windows but on AIX it is not creating new file named
Code1.log.1, instead  logging into the same log file ie Code1.log even
though size of the log file has reached maxmimum limit.

Any one can please suggest any ideas.

Thanks in advance,
Siddiq.


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message