Added an argument for daemons to force usage of log file.