Setting logging levels to valve and main training program (wip).