allen - 2006-01-06

Hi:
   I encountered a problem:
   a) One C++ log property file is used for all procs (there are 10 processes).
   b) Each proc has its own log file name specified in the property file.
   c) When any proc first start to log, all 10 log files have been created. (log4cpp code does)
   d) The problem is that procs run under different user privileges, so some procs could not log. (For example, the first proc runs as ‘root’ and the second proc run as ‘user1’, but second proc can not log since the second proc's log file was created by the first proc with ‘root’ permission on it).
   e) Unfortunately, we want one property file for all procs and the order of starting procs can not be changed.

I appreciate for your help!

Allen