changing the parameter from log_level to level