Commit

Handle disable loggin when log file is not writable