Linux Logging fixes