Add config variable for setting log level