Allow log level selection at runtime for debug