fixed log_create_from_string macro, it did not change volatile int log_level before