Is there a way I can mask or hide sensitive searched keywords from query.log using plain format?
we have not such option
could you create ticket at github with feature request for that?
There’s no functionality for that out of the box, but you can:
- log to syslog
- or to just /dev/stdout
and then mask sensitive keywords in your logs on the fly the way you want before you save the records to disk.