Add invalid log level handling