We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b827a82 commit 249d363Copy full SHA for 249d363
AppInspector/Utils.cs
@@ -267,13 +267,13 @@ public static Logger SetupLogging(AllCommandOptions opts)
267
})
268
{
269
config.AddTarget(fileTarget);
270
- config.LoggingRules.Add(new LoggingRule("*", log_level, fileTarget));
+ config.LoggingRules.Add(new LoggingRule("CST.ApplicationInspector", log_level, fileTarget));
271
}
272
273
LogFilePath = opts.LogFilePath;//preserve for console path msg
274
275
LogManager.Configuration = config;
276
- Logger logger = LogManager.GetCurrentClassLogger();
+ Logger logger = LogManager.GetLogger("CST.ApplicationInspector");
277
logger.Info("[" + DateTime.Now.ToLocalTime() + "] //////////////////////////////////////////////////////////");
278
279
return logger;
0 commit comments