The Log4Net mailing list is a great source of information about using log4Net, in this forum we collect all the messages in the log4net user list and some selected threads from the developer list.
| Author |
Messages |
|
Proeller, Ulrich
 |
| 05/16/2008 4:10 PM |
|
I am glad to announce that Log4View 2.2.0.6 has been released.
Log4View is a powerful and comfortable viewer for Log4net output.
Key Features:
* Reads output of RollingFileAppenders, UdpAppenders and a special TcpAppender(!)
* Can easily filters huge log files to focus on the current point of interest
* Multiple open logs
* Dynamically growing logger tree shows all known loggers
* Type and layout of the visualized information is fully customizable
* Font and color of log messages can be individually selected, depending on logger name, log level, message text and other criteria
* Easy configuration of individual logger filter levels
New in version 2.2.0.6:
* New stylish look and feel
* Significant speed improvement
* Can now handle up to 1.000.000 messages and more
For more details, look at http://www.log4view.com
View this message in context: Log4net viewer Log4View 2.2.0.6 released
Sent from the Log4net - Users mailing list archive at Nabble.com.
|
|
|
|
|
Neil Haughton
 |
| 05/16/2008 5:05 PM |
|
Does anyone know how to use log4net.config files with Visual Studio 2008 unit testing?
I have a test project with a log4net.config file as part of the project, properties set to Content and Copy always, which diligently copies the config file to the bin\release or bin\debug folders on build. The test class [ClassInitialize] method includes this line:
log4net.Config.XmlConfigurator.ConfigureAndWatch(new System.IO.FileInfo("log4net.config"));
which should point log4net to the executable folder for the test project, I thought. However the tests cannot find the config file: the log4net internal logging produces this message:
log4net: XmlConfigurator: configuring repository [log4net-default-repository] using file [log4net.config] watching for file updates
log4net: XmlConfigurator: configuring repository [log4net-default-repository] using file [log4net.config]
log4net: XmlConfigurator: config file [C:\Documents and Settings\Neil\My Documents\Visual Studio 2008\Projects\MatrixRoot\Matrix5\TestResults\Neil_DEVNH 2008-05-16 15_50_22\Out\log4net.config] not found. Configuration unchanged.
It seems to be looking for
…\TestResults\Neil_DEVNH 2008-05-16 15_50_22\Out\log4net.config
but I do not understand why.
Can anyone help with this puzzle?
TIA |
|
|
|
|
|
| You are not authorized to post a reply. |
|
|
|
ActiveForums 3.7
|