We now save daemon log files into $site_path/logs, rolling over
once per day using the DailyRollingFileAppender class from log4j.
Current messages are written to $site_path/logs/error_log until the
end of a day is reached in GMT, and then its renamed to an archive
file suffixed with the 'yyyy-mm-dd' format.
Because the daemon is meant to run in the background and service
user requests, the log messages are automatically redirect to the
log file by default. An administrator can force us to send log
messages to stderr again by using the new option --console-log.
Bug: issue 328
Change-Id: I6add1d2ac8faf57c6ca17964a7e88a2afacfb094
Signed-off-by: Shawn O. Pearce <sop@google.com>