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

Sudheer Vinukonda commented on TS-2940:
---------------------------------------

This fix unfortunately causes a sort of compatibility issue in 5.3.x. Prior to 
the fix, the below default settings would only result in logging the errors to 
diags.log (incorrectly, ignoring the "S" part of it). 

{code}
CONFIG proxy.config.diags.output.error STRING SL
CONFIG proxy.config.diags.output.fatal STRING SL
CONFIG proxy.config.diags.output.emergency STRING SL
{code}

However, [~sc0ttbeardsley] noticed that, when we updated to 5.3.x with the 
default settings, the errors now also get logged into /var/log/messages causing 
disk space issues and a potential outage.



> the Fatal() macro always crashes
> --------------------------------
>
>                 Key: TS-2940
>                 URL: https://issues.apache.org/jira/browse/TS-2940
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Core, Logging
>            Reporter: James Peach
>            Assignee: James Peach
>             Fix For: 5.1.0
>
>
> {{Diags::error_va}} uses the argument list twice, causing a crash in printf, 
> father than logging a fatal error. 



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

Reply via email to