There was an extra parenthesis left when skygw_log_write was changed to MXS_ERROR which caused the compilation to fail.