title: Enterprise Library 5.0 Logging error in Event log as Event ID 6352
body: <p>I am using Enterprise Library 5.0 for error loggin in WCF application. I have logging into SQL Database and if Database is down then logging into EventLog.</p>
  
  <p>Problem is if Database is down or connection string is incorrect it logging in Appication Event Log with Event ID 6352 with all details.</p>
  
  <p>Problem is if I am sending log to SQL server and sending Event ID as 5000, I want Enterprise Library to log in Event Log with Event ID 5000. </p>
  
  <p>But Enterprise Library logging as Event ID 6352 and inside error detail I have Event ID 5000.</p>
  
  <p>How can I Log in Event Viewer with Event ID 5000 when SQL Server is down. </p>