Logging to file optional, env sample added.