Is it possible to use the Logging Application Block of the Enterprise Library (version 5.0) to write log entries to a custom table in SQL Server ?
(edit) changed to ‘custom table’ because we want to report on specific log-columns…
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’m assuming you mean that you want to write log entries from your .NET code to a SQL Server database in order to centralize your log store.
If that is the case, then you can definitely do that. See Logging to a Database for more information.