View the output of multiple .Net console applications in one place

I have a C # console application that I deploy about 20 times (with different configuration settings) and work. As you can imagine, it’s hard to keep track of what happens with 20 running applications (I’m going to eventually deploy them as Windows services), is there anything that can easily show their results in one place?

I thought about the log files, but they can get large quite quickly, and I need to open and browse a lot of files - I just want to get some output to verify that it still works as expected.

Edit:

I am going to write errors and stop / start information in the database. What I'm talking about here is general information about the processing, which is not so important for a second review, but interesting for viewing during its work in the console application.

+5
source share
3 answers

I have successfully used log4net and its custom UdpAppender. Then you can point all UdpAppenders to one machine, where you can, for example, receive Udp messages using Log4View.

Since it is customizable, you can use it during installation and debugging during production, and then increase the logging level to display ERROR messages instead of DEBUG or INFO messages.

http://logging.apache.org/log4net/

http://www.log4view.com

http://logging.apache.org/log4net/release/config-examples.html

+4

, , SQL Server ?

DBs concurrency , , , .

, , , ( ..).

, Splunk, ( ).

+2

Mikael Östberg (log4net nlog). , .. , , -

0

All Articles