Unable to view the generated log file

Feb 3, 2014 at 8:03 AM
Edited Feb 3, 2014 at 8:05 AM
Dear Team,

I have used CInject.Injections.dll to inject my project dll. And it was successfully injected. But when I execute the changed dll, I was unable to view the log file generated.
  1. Where is the log file generated?
  2. I have try to found this log in the root directory, but there was no log.
Please help me out for the same.

Thanks!
Coordinator
Feb 3, 2014 at 10:19 AM
Log file is generated based on settings mentioned in LogInject.log4net.xml file

If you are using the xml file provided in the zip, you will find the logs in a subfolder called 'log'. You can change the contents of xml file and use log4net standard

https://codeinject.codeplex.com/SourceControl/latest#CInject.Injections/LogInject.log4net.xml

This file has to be in the same directory as that of executable.