Will log4net ever hang an application?

I am using ColoredConsoleAppender, I am worried about whether this will ever hang my application. Anyone have experience

+5
source share
2 answers

From the log4net website: http://logging.apache.org/log4net/release/faq.html

No. log4net is not reliable. It is the data collection system with the best effort and failure.

By stopping a stop, we mean that log4net will not throw unexpected exceptions at runtime, which could lead to an application crash. If for any reason, log4net throws an uncaught exception (except for ArgumentException and ArgumentNullException, which can be thrown), send an email to the mailing list log4net-user@logging.apache.org. Exceptional exceptions are treated as serious errors requiring immediate attention.

I personally use it all the time and have never had a problem.

+3
source

@ ralf.w. already showing complete symptoms. I can rephrase since I recently met the same problem.

  • , ColoredConsoleAppender ( ConsoleAppender) .
  • (WinForms ), ( Process.Start). UseShellExecute = false, . CreateNoWindow = true. WindowStyle = .

( ) log4net , , .

(, ), , log4net - .

, ( ) / ProcessStartInfo.

+2
source

All Articles