HttpAppender update?

Help
2009-09-08
2013-04-26
  • Nobody/Anonymous

    Is there some example code on how to configure use HttpAppender?   I'm using the 2.0 version. Is it implemented yet?

    I'm getting an NPE with the following sample initialization....

    private final static net.sf.microlog.core.Logger logger =
          LoggerFactory.getLogger();

        public static void init () {
          HttpAppender appender = new HttpAppender();
          appender.setPostURL("http://localhost:8088/cgi-bin/log.pl");
          logger.addAppender(appender);
          logger.setLogLevel(Level.INFO);
      }

     
    • Johan Karlsson

      Johan Karlsson - 2009-09-08

      It is not fully implemented yet. I expect this to part of the final 2.0 release.

      Regards
      Johan

       
  • Nobody/Anonymous

    Hi,

    the NPE has been fixed. This is only available in the source code repository. The HttpAppender will be available in the 2.0 final release. It will be released within a couple of days.

    Regards
    Johan

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks