Home › Forums › Support › Using NLog.config This topic has 2 replies, 2 voices, and was last updated 11 years, 5 months ago by Anonymous. Viewing 3 posts - 1 through 3 (of 3 total) Author Posts June 14, 2013 at 18:45 #894 AnonymousInactive Hello all! Is there a way to use nlog.config/app.config instead of defining the logging configuration in the sourcecode? June 14, 2013 at 22:16 #896 AnonymousInactive Heya Namikon, Many thanks for your interest in our library and welcome to our forums. In answer to your question, yes absolutely. In your application use the following syntax: string logFileName = "nlog.config"; if(System.IO.File.Exists(logFileName)) NetworkComms.EnableLogging(new NLog.Config.XmlLoggingConfiguration(logFileName)); I will update the logging tutorial to include this example. Kind regards, Marc June 15, 2013 at 13:38 #902 AnonymousInactive Awesome, thanks a lot! Author Posts Viewing 3 posts - 1 through 3 (of 3 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In