Syntax error using log_handler.