C
chidam.chidam
Hi all,
I would like to implement log4net for logging my application. First
let me describe in short about the application. I have a solution with
two exe file outputs and several dll assemblies. And my application has
a different AppDomain as it is a customization of another COM based
application written in VB.NET.
I have tried with App.Config files in my startup exe applications. It
works fine only till the parent application is loaded after that even
though the customized assemblies are used. My logging is not happening.
I am using the following set of code in every class.
1) log4net.Config.DOMConfigurator.Configure(); in every class'
constructor
2) Private Shared ReadOnly log as ILog =
LogManager.GetLogger(GetTypeof(FastLogger));
My installation folder has the following files apart from other
assemblies:
1) MyApp.Exe
2) MyApp.Exe.Config
3) But it starts another application ForeignApp.exe in some other
folder.
Can anyone please help me in this regard.
Thanks in anticipation,
Chidam
I would like to implement log4net for logging my application. First
let me describe in short about the application. I have a solution with
two exe file outputs and several dll assemblies. And my application has
a different AppDomain as it is a customization of another COM based
application written in VB.NET.
I have tried with App.Config files in my startup exe applications. It
works fine only till the parent application is loaded after that even
though the customized assemblies are used. My logging is not happening.
I am using the following set of code in every class.
1) log4net.Config.DOMConfigurator.Configure(); in every class'
constructor
2) Private Shared ReadOnly log as ILog =
LogManager.GetLogger(GetTypeof(FastLogger));
My installation folder has the following files apart from other
assemblies:
1) MyApp.Exe
2) MyApp.Exe.Config
3) But it starts another application ForeignApp.exe in some other
folder.
Can anyone please help me in this regard.
Thanks in anticipation,
Chidam