How to catch an error form log4net?
I have a program with log4net. The log4net is set a MySql server as repository. If it fail to connect to the MySql server, it will print many technical statements to console but I don't want to show them. Therefore, I want to catch the error and show "Fail to connect to the MySql" only.