Log file link help

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
oashinte
Posts: 1
Joined: Sun 15 Nov 2020 19:05

Log file link help

Post by oashinte » Sun 15 Nov 2020 21:21

Hello everyone,

I want to log connection pool activity to link to a log file for my application. I also want to log your time. I can do this using dbMonitor but I want to do this by enabling logging from within my application. I wonder if there is a method to get it working with my log4net configuration? 0x97 error code 192168101 techtipseasy.com

I would be glad if you help.

PS: Thanks for reply, problem solved.
Last edited by oashinte on Sat 28 Nov 2020 21:45, edited 1 time in total.

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: Log file link help

Post by Shalex » Mon 16 Nov 2020 13:53

Please create the MySqlMonitor instance, set its UseApp property to false, send the required information to log4net via the TraceEvent handler: https://www.devart.com/dotconnect/mysql ... nt_EV.html.

Post Reply