cmcfarlen commented on issue #11948:
URL: 
https://github.com/apache/trafficserver/issues/11948#issuecomment-2617678524

   Thanks @jeredfloyd for the bug report.  I confirmed this bug and made the 
fix noted above.  The issue came down to the format function having:
   
   ```
         bw.print("{}{}{}{}", swoc::bwf::If(trailing_p, "{}", glue), 
swoc::bwf::Pattern{int(note.level()), id_txt},
                  swoc::bwf::If(note.has_severity(), "{}{}", note.severity(), 
a_s_glue), note.text());
   ```
   
   Where the `bwf::If` will evaluate its arguments regardless of the result of 
predicate.  So this was a bit of a time bomb perhaps.


-- 
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: issues-unsubscr...@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to