Feb 08, 2010 04:53 AM|sandeep.cec|LINK
for log Entry in database follow below post steps :
First of all you must execute the .sql file that will create the Logging database for you. It is available in the <Drive Letter>\EntLib41Src\Blocks\Logging\Src\DatabaseTraceListener\Scripts\LoggingDatabase.sql
. Then you can now (1)add a Database trace listener in the LAB. (2) Configure a connection string in your DAAB section which points to the database that was created running the said script. (3) Configure the DatabaseInstance property of the database trace
listener and point it to the created connection string in step #2. (4) Add a trace listener reference to the desired category and point its reference to the database trace listener.
Source: Valiant Dudan
Global Technology and Solutions