<div>Hello,</div><div><br></div><div>What would be the best way to handle logging with logback when deploying obfuscated code?</div><div><br></div><div>For example, with YGuard, when the obfuscator runs, it outputs a mapping file of obfuscated code (class names, method names, etc) to unobfuscated code.  When a stacktrace or just any logging trace is output, the class/method names are obviously obfuscated.  As it's possible to deploy this mapping with the code, say embedded in the same ".jar", all the information I would need is available.</div>

<div><br></div><div>Without too much re-writing of code (default formatting with logback), what would be the best way to dynamically replace matching class/method names?</div><br clear="all">Thanks,<br>Christopher<br>