Allow setting log file from outside the module

In case the bundle current working directory is not writable by
current non-root user, the logging will fail. This change keeps
the same default but allows overriding the logfile name and path
from outside the module.
Also helps in case user doesn't want logging by setting the logfile
to /dev/null