Good day all. I was wondering if the "log file = /path/to/logfile" could be used per module as opposed to being a global parameter. My goal is to have each individual module log to a different file in order to keep customer's transactions seperate. I have tried in the global parameter section "log file = /var/log/rsync/$LOGNAME/rysnc.log" to no avail. Perhaps I should create the directory for each corresponding user in /var/log/rsync and touch the rsync.log within their lof directory ? I am using the latest rsync on red hat 9.0 boxes. Thank you all in advance for any input you could give me in this matter. -- Clint Boggio <clint.boggio@hoganhardwoods.com> Hogan Hardwoods & Moulding
On Wed, Mar 10, 2004 at 08:15:26AM -0600, Clint Boggio wrote:> I was wondering if the "log file = /path/to/logfile" could be used per > module as opposed to being a global parameter.It seems like that would be pretty easy to do by moving the "log file" item from the global structure into the local structure in loadparam.c and then specifying a different name for each module. However, there is not currently any support for that. As for the attempt to put an environment variable into the logname, that didn't work because the string does not undergo any shell expansion -- it's just used verbatim. ..wayne..