Prasad Basani
Prasad Basani

Reputation: 13

How do you separate your application logging from NServiceBus framework logging

NServiceBus writes to the logs into the folder where the host process is. How can I write my application specific log to a separate file using log4net so that I look at the application logs and then if there is a NServiceBus issue, I go look at the NServiceBus logs.

If I go the IWantCustomLogging route, everything gets written to the destination file.

Any suggestions?

Thanks Prasad

Upvotes: 0

Views: 105

Answers (1)

jcwrequests
jcwrequests

Reputation: 1130

You can configure that in app.config. http://particular.net/articles/generic-host-sample

Upvotes: 1

Related Questions