This post has NOT been accepted by the mailing list yet.
I am using log4net for the first time. I am facing a problem as follows:
I have a console application which uses log4net for logging. I have another WinFrom application which is not using log4net. Now, I need to call the console application from the WinFrom application on a separate process using following code snippet:
Process process = new Process();
// Configure the process using the StartInfo properties.
process.StartInfo.FileName = processname;
process.StartInfo.Arguments = Args;
process.StartInfo.WindowStyle = ProcessWindowStyle.Maximized;
//process.StartInfo.UseShellExecute = true;
process.WaitForExit();// Waits here for the process to exit.
Now, when the console exe is running in stand-alone mode from command prompt, it is generating log as expected, but when calling from Winfrom application, it is not generating the log. Following is the log4net setting I am using in app.config file of console application: