Fixes the Logger to not always create poly.log even if it does not log t...

...o a file, or logs to a correctly named file.