Add command-line options for unsafe logging
Moved from comment:4:ticket:33157
Something like that patch was useful when working on #19026 (moved) so would you consider merging, https://github.com/keroserene/snowflake/commit/dbd733e4b1430c046ec11e8052efdbac6010e58a
It's okay with me but I would call the option --unsafe-logging instead of --unsafeLogging to match the style of the other options.
In
broker/broker.go
, yes, dashes are used (ex.disable-tls
,acme-email
, etc), however, inclient/snowflake.go
we have camel casing (ex.logToStateDir
,keepLocalAddresses
, etc)We should probably consolidate this now. I imagine your preference is for the former?