I'm using edtFTPnet.
The Logging is working great. Currently, I get logging information from all levels into the log file.
How do I get logging information from all levels except Level.ALL into the log file? Here's my code snippet.
// Create Logging Object
Logger myLogger = Logger.GetLogger(typeof(ConsoleApp));
// Set up Logging Output to Console
Logger.AddAppender(new StandardOutputAppender());
// Set up Logging output to Log File
Logger.AddAppender(new FileAppender(String.Concat(_strLoggingFolder, @"\", DateTime.Now.ToString("yyyyMMddHHmmss"), ".log")));
Then what do I programmatically set?
The reason I ask for this is because Level.ALL reports all the FTPConnection events that are invoked and the procedures that are called by the events. This is rather meaningless in a log file and clutters up the log file.