diff options
author | Saku Ytti <saku@ytti.fi> | 2014-04-16 15:04:05 +0300 |
---|---|---|
committer | Saku Ytti <saku@ytti.fi> | 2014-04-16 15:04:05 +0300 |
commit | bde440bbd66ba7b9fbec99ab012dd4de80945a4c (patch) | |
tree | 0cccdc2e99b49527feebbee8c47644b340fe7c73 /lib/oxidized/log.rb | |
parent | d756387ad436bc60563e44c866fd5831b9351723 (diff) |
run cmd :secret blocks if CFG.remove_secret is set
Model can inmplement something like
cmd :secret do |cfg|
cfg.sub! / secret (\d+) (\S+).*/, '\\1 SECRET'
cfg
end
Which is called for all commands if CFG.remove_secret is set
Diffstat (limited to 'lib/oxidized/log.rb')
0 files changed, 0 insertions, 0 deletions