Add logging capabilities to the single file handler and simplify configuration.