Only create the local or stdout log files if the log is configured for local use.  Otherwise skip.
Merge pull request #9 from PatTheGamer/master

Only create the local log file if the local flag is set