logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reddy, Ramachandra" <RRe...@firstmarblehead.com>
Subject RE: Problem with linux
Date Tue, 27 Apr 2010 14:54:31 GMT

Check if you have different log4j.jar in your classpath on linux
I guess log4j-1.4.jar and above supports only log4j.xml and not

If log4j.properties try loading it as 

If log4j.xml try loading it with 

Most likely you have higher version of log4j in your linux
environment.So try to add log4j.xml and use this line of code 
And see if it works.

-----Original Message-----
From: Vijayakumar [mailto:Vijaya.kumar@works.gov.bh] 
Sent: Tuesday, April 27, 2010 9:38 AM
To: log4j-user@logging.apache.org
Subject: Problem with linux

Hi There,
I try to use log4j in my application, here is my property file

log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L
- %m%n
log4j.rootLogger=debug, stdout

I see all INFO and DEBUG messages in local windows system, while I move
my application to linux system I see only the very first line of the log
message, rest of the line are not displayed.
What might be the problem, kindly help me out.


This e-mail message and any file(s) transmitted with it are solely for
the intended recipient(s) and may contain confidential, privileged or
copyright information. If you have received this communication in error,
please notify the sender immediately and delete this message and any
attachments from your system. Any views expressed in this message are
those of the individual sender. Ministry of Works (MOW), or any other
related subsidiary, entities or a person does not accept liability for
any damage caused by this e-mail. Internet communication cannot be
guaranteed to be timely, secure, error or virus free. The sender does
not accept liability for any errors or omissions
*This e-mail and any attachments may contain content protected 
under federal law and is also confidential and proprietary in nature. 
If you received this message in error, please notify the sender 
immediately and delete the original and destroy all copies of the 
message and any attachments. Any other use of this e-mail by you 
including retaining, using, copying, distributing, or otherwise 
disclosing this information in any manner is prohibited.

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

View raw message