Logging to files and console depending on LogLevel