[5.0] Simplify Log Levels Handling