[asterisk-dev] Asterisk Logger find-replace in log messages

info at asteriskite.com info at asteriskite.com
Tue Jan 24 00:53:04 CST 2017


On 2017-01-24 01:06, Steve Edwards wrote:
> On Wed, 18 Jan 2017, info at asteriskite.com wrote:
> 
>> 1. Main purpose is to be able to find and replace sensitive 
>> information, such as Customer ID, PIN, Credit Card Information etc. 
>> Thus sensitive data in clear text can be removed prior to writing to 
>> syslog or console, rather than triggering via a logger rotate or cron 
>> job with say, sed or awk etc.
> 
> Sounds very interesting. This would make it easy to capture console
> output before posting.
> 
> How about 'logger set sanitize on/off' to enable or disable easily?
> 
> --
> Thanks in advance,
> -------------------------------------------------------------------------
> Steve Edwards       sedwards at sedwards.com      Voice: +1-760-468-3867 
> PST
>             https://www.linkedin.com/in/steve-edwards-4244281

That is a good idea, thanks! I have other things specific to my case, 
like adding a timestamp in EST which I should probably get rid of when 
making a patch.

RMD



More information about the asterisk-dev mailing list