Search Result

Collapse
2 results in 0.0013 seconds.
Keywords
Members
Tags
log4net
  •  

  • log4net logger.File property. Error: "The given path's format is not supported."

    I need to configure log4net programmaticall y. I got the code for this from the net which lots of users happen are using. But when I get an error saying "The given path's format is not supported." at logger.Activate Options. the code is reproduced below:

    Code:
    public class Logger
    {
            private PatternLayout _layout = new PatternLayout();
            private const string LOG_PATTERN = "%d [%t] %-5p %m%n";
    ...
    See more | Go to post

  • How can I write real-time log message to a RichTextBox using log4net?

    My gut feeling tells me I may have to implement a custom appender to do this. But I'm concerned about the threading issue, since I want the text box to display some message in a real-time manner as the system executes a series of actions.

    For example, when user clicks some button on my Winform application, the click event handler calls 2 methods: Act1() and Act2(). So I want when Act1() finishes, the text box on the form displays some...
    See more | Go to post
Working...