You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-user@logging.apache.org by Michal <pa...@gmail.com> on 2016/05/11 14:47:43 UTC
Sometimes missing log entries
Hi,
I am using log4net version 1.2.15.0 as Nuget and sometimes I miss some
log entries.
I am loading .net functions via pythonnet, but it looks like it entres
to the function and sometimes there are missing some logs.
So I enabled internal debug logging.
There is a code what I have:
logger.Info("reading def"); string textDefinition =
FileExtensions.ReadAllTextReadOnly(testPath); logger.Info("Definition");
logger.Debug(textDefinition); try { testDefinition =
JsonConvert.DeserializeObject<TestSuiteDefinition>(textDefinition); }
catch (Exception e) { logger.Info("failed reload def");
logger.Info(e.Message); } logger.Info("test 1");
And this is what I have logged, but just sometimes, in most of all cases
it logs everything.
2016-05-10T18:33:50 reading def 2016-05-10T18:33:50 Definition
2016-05-10T18:33:50 { very long JSON... } After some time logging
continues.
I uploaded log4net internal debug log: http://textuploader.com/5btua,
but I have nothing susspicious found.
Could you please help me what to do to determine problem why there are
missing some logs?
It is happening on 7x64 and also on Mac OS Yosemite with mono.