Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Post
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
0
Reply
using LOG4NET
goce micevski
Oct 21 2004 7:25 AM
2.3k
Reply
Hi to all, I want to use log4net but i can't make it work. This is how i use it: in the web.config: -----
----- in the page load: --- private static readonly log4net.ILog log = log4net.LogManager.GetLogger(typeof(LoginForm)); private void Page_Load(object sender, System.EventArgs e) { if(log.IsDebugEnabled) log.Debug("Did it again!"); ----- I m using log4net 1.1.1 i also have log4net-1.2.0-beta8 but i couldnt make them work. I had problems with log4net-1.2.0-beta8 because it wasn't reading that DEBUG is enabled, so i switched to 1.1.1 - where logger was reading that DEBUG is enabled but when it camed to writing to file nothing Anyone have some idea or something? Thanks in advance
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
0
)
Next Recommended Forum
Problem accessing Access.
how to make my textbox focus in an editable datagrid?