Encrypt Log File

Topics: Building and extending application blocks, Logging Application Block
Jun 29, 2010 at 8:54 PM
Hi, I get the sense this is an unusual request because I've googled it and made very little progress. Is there a way to encrypt the log file? My log file may reveal sensitive information, so to be honest, the only people I want to read it are the support team, engineers etc. If there isn't a way 'out-of-the-box' to do this am I supposed to write my own: a, Trace Listener - 'MyEncryptedTraceListener' or b, Log Entry Formatter - 'MyEncryptedLogFormatter' All ideas and advice are welcome! Thanks CA.
Jul 1, 2010 at 1:58 AM

This is actually documented as one of the limitations of the Logging Application Block.   And yes, this isn't supported out-of-the-box so you would have to extend EntLib by creating your own custom trace listener.


Sarah Urmeneta
Global Technology and Solutions
Avanade, Inc.