Configure which log messages should be logged (based on log level)