ChrisFulstow / log4net.SignalR

Log4Net appender for streaming log events directly to web client using SignalR

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SignalrAppender.Instance is null

Eonasdan opened this issue · comments

I couldn't get this to work in my project so for debugging purposes I copied both the hub and the appender code into my project. However with code below

public SignalrAppenderHub()
 {
    SignalrAppender.Instance.MessageLogged = OnMessageLogged;
}

SignalrAppender.Instance is null

I've also been getting log4net.listen is not a function

I noticed you have this issue open still, but that is about 6 months old. Were you able to get around the issue? I believe this is due to mapping a hub without having a SignalrAppender in your log4net configuration file.