Ted Unangst <t...@tedunangst.com> wrote:

> I think not. If you intentionally store binary data in syslog (why?) you can 
> use
> base64. The vis call is to prevent harm, not guarantee it's unambiguous.
> Lots of potential syslog calls are already ambiguous if the user provides
> inputs containing spaces. A structured format like json seems like the right 
> thing, so it'd be nice if syslog didn't interfere.
> 
> At least when I looked at a similar problem recently, I cared about censoring
> the control characters, but not recovering them.

If we do this, I think we should document it somehow that the payload is
massaged.

Reply via email to