added file reader to logger to configure log levels on the fly