Logging error solved when using output file