The Log4Net mailing list is a great source of information about using log4Net, in this forum we collect all the messages in the log4net user list and some selected threads from the developer list.
| Author |
Messages |
|
Graham Walsh
 |
| 11/21/2008 1:37 PM |
|
Hi,
I have a distributed application running here and from time to time (when there's an error) we need to retrieve the logfile from the server. I need to do this programmatically. Can anybody tell me whats the best way to achieve this? I have configured my server side loggers thus;
private static ILog logger = LogManager.GetLogger(typeof(MyClass));
and they work just fine. Now I need to just get my hands on the file or ideally the contents of the logile via the log4net interfaces. Can anybody tell me how I can achieve this. Thanks much and have a nice weekend
Graham |
|
|
|
|
|
| You are not authorized to post a reply. |
|
|
|
ActiveForums 3.7
|