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.

Reply via email to