You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Leela Mallipudi <Ma...@hcl.in> on 2009/08/27 10:07:14 UTC

FW: Problem with log4j.

Hi Apache support,



We are facing one problem with log4j.properties file.



Environment details:     Documentum Content Server 5.3 sp6, Web sphere server 6.0  and jdk version 1.4.2 in AIX sp4.



Problem Description :    We are creating 50 back up files with each file of size 50 MB, first time it is working fine then it stopped creating the backup files after 9, till 9 the backup files are updating iteratively.

Another problem  is we changed the location from on from one location to another location due to lack of disc space. The log files created fine for 1 day then again it moved back to its old location that been configured in log4j.properties. Still sometimes the log files are creating in new location and maximum of the times logs are creating in old location. I have checked the log4j.properties file, it is pointing to the new location only.



I am attaching the log4j.properties file for your reference. We raised the case to EMC but EMC is recommending Apache for the same. Please assist us.







Thanks and Regards,
Leela Prasad Mallipudi.

Ph:    065-63286512

Mob: 065-94734423








DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. 
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. 
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have 
received this email in error please delete it and notify the sender immediately. Before opening any mail and 
attachments please check them for viruses and defect.

-----------------------------------------------------------------------------------------------------------------------

Re: Problem with log4j.

Posted by Curt Arnold <ca...@apache.org>.
On Aug 27, 2009, at 3:07 AM, Leela Mallipudi wrote:

> Hi Apache support,
>
> We are facing one problem with log4j.properties file.
>
> Environment details:     Documentum Content Server 5.3 sp6, Web  
> sphere server 6.0  and jdk version 1.4.2 in AIX sp4.
>
> Problem Description :    We are creating 50 back up files with each  
> file of size 50 MB, first time it is working fine then it stopped  
> creating the backup files after 9, till 9 the backup files are  
> updating iteratively.
> Another problem  is we changed the location from on from one  
> location to another location due to lack of disc space. The log  
> files created fine for 1 day then again it moved back to its old  
> location that been configured in log4j.properties. Still sometimes  
> the log files are creating in new location and maximum of the times  
> logs are creating in old location. I have checked the  
> log4j.properties file, it is pointing to the new location only.
>
> I am attaching the log4j.properties file for your reference. We  
> raised the case to EMC but EMC is recommending Apache for the same.  
> Please assist us.

The mailing list discards attachments so we don't have your  
configuration.  Knowing what version of log4j is in use would be  
helpful.  If you aren't running the latest log4j (1.2.15), I'd  
recommend upgrading.

The second problem sounds similar to issues that occur when multiple  
JVM's or appenders are attempting to write to the same file.

Rolling file appenders are problematic in general due to the rename  
operation.  There is an improved rolling file appender framework in  
the extras companion, however it intentionally caps the number of  
rolled files to 12 to avoid spending a long time sequentially renaming  
files.

The mailing list is a volunteer community.  There really isn't an  
"Apache support".  There are third-party companies that do offer paid  
support for Apache products.

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