Write to error_log