Fix for logfile in debian os