set log level from settings