Domanda

I am a little new to programming and i recently developed a client to server C# application using log4net on both side.

Is there a way to send and receive logs using log4net (C#) on the client side with a log4j (Java) on the server side?

È stato utile?

Soluzione

Log4Net and Log4J can forward logs on the network through UDP, but there is no way to aggregate the logs through Log4X since the framework doesn't handle listening for messages on the network.

However it is possible to use some tools to aggregate network logs coming from different sources so you can setup both your applications to send logs to a machine hosting the tool that will handle the messages

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top