maskit commented on issue #12944:
URL: 
https://github.com/apache/trafficserver/issues/12944#issuecomment-6749395708

   > diags.log and traffic.out are the same Diags system writing to two 
destinations — redundant
   
   Although I do agree on that current separation does not make sense, "one 
file for everything" (in addition to access log), does not sound like a great 
design for everyone. Current rent digs.log tell the issue.
   
   Log consumers (Ops, SRE, Security, Devs, etc) have different views. Devs may 
want to see everything while they troubleshoot issues but, lines that Ops team 
cares may be a plenty of noise for Security team, and vice versa. And they may 
want to have different retention periods. A line about config format would be 
useless 1 month later, but another line about a malformed requests may be still 
helpful. Bunch of debug logs that devs would need are noise for most other log 
consumers. I'd guess that was the idea of the separation.
   
   We might want a kind of log routing system so people can configure what kind 
of output goes to which file (or pipe or whatever). One can put everything into 
a file if they want (this would make more sense if you have a log data pipeline 
that does the separation). I'm not sure which is better.
   
   Either way, the formats of log outputs needs to be unified.


-- 
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]

Reply via email to