Click here to Skip to main content
15,891,951 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have used using log4net successfully on many projects. This time I am stumped. I have a web app and log4net will only log to my local db. When I configure it to use the remote db nothing gets logged. The only difference in the config is Data Source=localhost; vs Data Source= machineName; , the machine name of the DB. The log4net trace looks identical except for that the end of the file for the remote db I see ‘Shutdown called on Hierarchy ‘ is written as the last line. That line is missing for the trace of the local DB. There is no other indication that anything is wrong, just no log entries.
Posted
Comments
ZurdoDev 25-Feb-14 14:12pm    
Is it possible you have it set to only log while in debug mode?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900