How can I get mail with ALL log lines, not separate mail for each log entry?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

How can I get mail with ALL log lines, not separate mail for each log entry?

Neubitiy
Hello all,
can anyone tell me if I get mail with ALL log lines, not separate mail for each log entry? :)

Reply | Threaded
Open this post in threaded view
|

Re: How can I get mail with ALL log lines, not separate mail for each log entry?

Lanzo van Slooten
Have you got an answer for your question?

I need the same.

Best regards,
Lanzo
Reply | Threaded
Open this post in threaded view
|

Re: How can I get mail with ALL log lines, not separate mail for each log entry?

Jarek Kowalski
Administrator
You can wrap your email target with a buffering target wrapper and it
will send all logs in a single message.

Jarek
NLog Blog
mac
Reply | Threaded
Open this post in threaded view
|

Re: How can I get mail with ALL log lines, not separate mail for each log entry?

mac
Can you please provide sample of config file to acomplish this so everyone who will search answer will see it right here.