bryancall commented on issue #12944: URL: https://github.com/apache/trafficserver/issues/12944#issuecomment-6787489486
Thanks, those are fair points. We talked about this at Monday's PR and Issue Scrub, and I still think two files is the right default: error.log, with what goes to diags.log and traffic.out today folded into it, and access.log, which is today's squid.log renamed. That's the same split httpd and nginx use, and it's what most operators expect to find. On different readers wanting different lines: once every line has the same format with its level and tag (#14010), pulling out the lines one team cares about is a filter, with grep, journald or a log pipeline. Today's split by file only does that roughly, since diags.log already mixes notes, warnings and errors. On retention: debug output is off unless someone turns it on to troubleshoot, so what's left in error.log is small next to the access log, and the two keep their own rolling settings. If someone wants something else, such as a separate file for some kinds of messages or sending them to syslog or a pipe, that can be a configuration option on top, with error.log and access.log as the default. I'll write it up for [email protected] before anything is renamed or merged. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
