You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NLog.Logger logger = NLog.LogManager.GetCurrentClassLogger();
if (args.Length == 0)
{
logger.Info("This process cannot be started by yourself");
return;
}
else
{
logger.Info($"Process Job: TokenId={args[0]}");
}
First call of logger.Info is very slow - 15-20 sec. Next calls are OK.
What I'm doing wrong?
Thanks.
The text was updated successfully, but these errors were encountered:
Hi!
I use NLog 4.5.11, NLog.Mongo 4.6.0.68 and MongoDB 4.0.6
My NLog.Config:
My code is:
First call of logger.Info is very slow - 15-20 sec. Next calls are OK.
What I'm doing wrong?
Thanks.
The text was updated successfully, but these errors were encountered: