logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Curt Arnold <carn...@apache.org>
Subject Re: Using more than one logger
Date Tue, 03 Apr 2007 15:13:37 GMT

On Apr 2, 2007, at 12:35 PM, Rayapudi Sandeep-mgb376 wrote:

> Hi Curl,
>
> Thanks for quick response
>
> - specified folder and file in properties do exist
> - given write permissions to ALL in ../logs/sysmon.log file
> - When i changed it to ConsoleAppender, it printed on console.
> - It did NOT worked when i changed to FileAppender
>
> I am using log4cxx-0.10.0 version on RHEL 3
>
> Thnx,
> Sandeep
>

If ConsoleAppender works and FileAppender fails, I would think it  
strongly suggests that there is a problem opening the specified  
file.  I'd try using an absolute path for the file attribute,  
perhaps /tmp/sysmon.log.


Mime
View raw message