Page 1 of 1

Log file link help

Posted: Sun 15 Nov 2020 21:21
by oashinte
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.

Re: Log file link help

Posted: Mon 16 Nov 2020 13:53
by Shalex
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.