Logging - Database Trace Listener to Oracle DB ?

Topics: Enterprise Library Core, Logging Application Block
Mar 20, 2012 at 2:41 PM

Is it possible to set up a Database Trace Listener to trace to an Oracle DB (using ODP.NET and EntLibContrib 5.0) ?

Mar 20, 2012 at 3:04 PM

Yes, you should be able to log to an Oracle database.  However, I have read about people having issues using the FormattedDatabaseTraceListener with Oracle so I think there is a bit of work there.

The first step is to convert the SQL script provided by EntLib to work with Oracle.  I recommend reading Cannot log to oracle Database using logging blocks (there are attachments there that can help). 

Randy Levy
Enterprise Library support engineer