[ 
https://issues.apache.org/jira/browse/TS-3749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14626510#comment-14626510
 ] 

Phil Sorber commented on TS-3749:
---------------------------------

I think it's related to these filters no longer being created since they were 
attached to a default format:
{noformat}
@@ -874,39 +655,6 @@ LogConfig::setup_log_objects()
   Debug("log", "creating objects...");

   // ----------------------------------------------------------------------
-  // Construct the LogObjects for the pre-defined formats.
-
-  // gather the config information for the pre-defined formats
-  //
-  PreDefinedFormatList predef;
-
-  predef.init(this);
-
-  // do protocol splitting
-  //
-  LogFilter *reject_protocol_filter = split_by_protocol(predef);
-
-  // do host splitting
-  //
-  size_t num_hosts = 0;
-  if (separate_host_logs) {
-    num_hosts = split_by_hostname(predef, reject_protocol_filter);
-  }
-
-  if (num_hosts == 0) {
-    // if no host splitting was requested, or if host splitting
-    // was not successful (e.g. empty log_hosts.config file) then
-    // create the "catch-all" object that contains logs for all
-    // protocols that do not have their own file, and for all hosts
-    //
-    LogFilter *f[1];
-    f[0] = reject_protocol_filter;
-    create_predefined_objects_with_filter(predef, countof(f), f);
-  }
-
-  delete reject_protocol_filter;
{noformat}

> Error log isn't recorded
> ------------------------
>
>                 Key: TS-3749
>                 URL: https://issues.apache.org/jira/browse/TS-3749
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Logging
>            Reporter: Ryo Okubo
>            Assignee: Crystal Qian
>            Priority: Blocker
>             Fix For: 6.1.0
>
>
> error.log has not been recorded after TS-1985. Enabling error logging and 
> specifying a format of error.log depended on pre-defined log format but this 
> logic was eliminated on the issue.
> Error logging works fine when  I tried to revert 
> [5c2b032fb9f8f05ae7be1794a3103140ffe7d07e|https://github.com/apache/trafficserver/commit/5c2b032fb9f8f05ae7be1794a3103140ffe7d07e].



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to