@@ -13,10 +13,12 @@ .IR port ] .RB [{ \-t | \-\-threads } .IR count ] .RB [{ \-c | \-\-cache } .IR entries ] +.RB [{ \-l | \-\-log } +.IR file ] .RB [{ \-u | \-\-user } .IR user ] .RB [{ \-r | \-\-root } .IR directory ] @@ -58,10 +60,20 @@ to allocate. Each cache entry holds file information as well as an open file descriptor to the file, so resource limits (i.e., ulimit) should be considered. This should be a prime number for ideal use with the lookup method. +.TP +.B -l (or --log) +Specifies a filename to open for writing log entries. Log +entries are made for various stages in transfering files. +The log file is opened before switching users (see "-u") +and root directories (see "-r"). The log file is never +closed so log rotation without stopping the daemon is will +not work. The value of "-" indicates that standard output +should be used for logging. + .TP .B -u (or --user) Specifies the user to switch user IDs to before servicing requests. The default is not change user IDs.