Logging via log4net

Posts   
 
    
magic
User
Posts: 125
Joined: 24-Nov-2008
# Posted on: 21-May-2009 16:01:36   

I'm looking for a way to have the LGP log messages in my log4net log files. I just found this thread http://www.llblgen.com/tinyforum/Messages.aspx?ThreadID=14467&HighLight=1 about "AuditInfoEntity and Log4Net".

Although it gives some idea that it should work somehow, I don't quite understand how to make it work from scratch. Also, how does the setup of the LGP logging levels play into this?

I would be thankful for some dummy proof hints.

Thanks.

MTrinder
User
Posts: 1461
Joined: 08-Oct-2008
# Posted on: 21-May-2009 21:12:29   

I'm not quite sure what else you are asking - the referenced thread seems to give a pretty good example of how to get it working.

The LLBLGen logging levels have no effect on Log4Net - it uses its own levels which you can set as you wish.

Matt