Skip to content

Commit 249d363

Browse files
authored
Fix for #179 (#180)
1 parent b827a82 commit 249d363

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

AppInspector/Utils.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,13 +267,13 @@ public static Logger SetupLogging(AllCommandOptions opts)
267267
})
268268
{
269269
config.AddTarget(fileTarget);
270-
config.LoggingRules.Add(new LoggingRule("*", log_level, fileTarget));
270+
config.LoggingRules.Add(new LoggingRule("CST.ApplicationInspector", log_level, fileTarget));
271271
}
272272

273273
LogFilePath = opts.LogFilePath;//preserve for console path msg
274274

275275
LogManager.Configuration = config;
276-
Logger logger = LogManager.GetCurrentClassLogger();
276+
Logger logger = LogManager.GetLogger("CST.ApplicationInspector");
277277
logger.Info("[" + DateTime.Now.ToLocalTime() + "] //////////////////////////////////////////////////////////");
278278

279279
return logger;

0 commit comments

Comments
 (0)