What are the challenges you face when working across database platforms? Take the survey

Not obfuscated Log ( NLog )

I'am using Smart Assembly 6 to obfuscate Visual Studio applications made in C# and Visual Basic .net.
I'am using NLog.dll to print the log including the stack trance.
Obfuscating the .exe file, my stack trace log is obfuscated too, is there any way to have a clear log ( not obfuscated)?

Best Answer

  • Options
    Jessica RJessica R Posts: 1,319 Rose Gold 4
    Hi @gbudescu,

    Thanks for your post!

    There isn't a way to have an unobfuscated log without manually excluding the types you need from obfuscation, or turning off obfuscation completely.

    However, what you could do is obfuscate using the "I want to obfuscate using only ASCII characters" and "I want to use a one-to-one renaming scheme" options. That way, when you see obfuscated names in the log files, you can enter them into the 'Decode stack trace' feature to get the original names. Please see here for more information on decoding stack traces: https://documentation.red-gate.com/display/SA6/Decoding+a+stack+trace

    Jessica Ramos | Product Support Engineer | Redgate Software

    Have you visited our Help Center?

Sign In or Register to comment.