RollingFileAppender file permission problem

2011-05-14 Thread Alex Huang (Gorilla)
Hello, I am using apache-log4cxx-0.10.0 in an application that is run as a service on CentOS 5.5. The service's init.d file runs the application using the daemon function from /etc/init.d/functions. I pass the --user option so that the service runs as a non-root user. The problem is that whe

RE: RollingFileAppender file permission problem

2011-05-14 Thread Alex Huang (Gorilla)
I should add that the very first log file is created with the non-root user as the owner and group and log messages are successfully written to it. It is the rolling over of the log file that has a permission problem. Alex From: Alex Huang (Gorilla) [ale