The AppFx.ServiceBus framework encapsulates the use of the log4net framework. The console and windows service hosts come with preconfigured settings which will cover some of your likely scenarios.

By default there is a rolling log file which will capture most log messages and in addition warnings and errors are sent to the event log. For the console host the coloured console appender is also used to make information appear in the console app for easier troubleshooting.

You can obviously modify these if you want to.

If you want to do any log messages yourself you can also reference the AppFx.ServiceBus assembly and you will find a Logger class which provides access to log4net and allows you to record your own messages into this logging

Last edited Feb 3, 2013 at 5:30 PM by michaelstephenson, version 1


No comments yet.