Re: Nunit and log4net
"Nassar, Anthony" <[email protected]>
| Newsgroups | gmane.comp.windows.dotnet.nunit.user |
|---|---|
| Message-ID | <[email protected]> |
I've got the logging threshold set to OFF. Why would nunit-console
insist on trying to lock a log file it's not going to use? I installed
2.4.4 to our CI machine, and havoc ensued. The delivered .config file,
which I haven't touched, has
<appender name="RollingLogFileAppender"
type="log4net.Appender.RollingFileAppender">
<param name="File" value="${APPDATA}\\NUnit\\NUnit.log" />
...which, CruiseControl informs me, results in:
External Program Failed: C:\Program Files\NUnit\bin/nunit-console.exe
(return code was 1)
Warnings: (4)
log4net:ERROR [RollingFileAppender] Unable to acquire lock on file
\\NUnit\NUnit.log. Value cannot be null.
Parameter name: path
log4net:ERROR [RollingFileAppender] Unable to acquire lock on file
\\NUnit\NUnit.log. Value cannot be null.
Parameter name: path
________________________________
From: [email protected]
[mailto:[email protected]] On Behalf Of Charlie
Poole
Sent: Thursday, November 08, 2007 1:34 AM
To: 'Fer Carena'; [email protected]
Subject: Re: [Nunit-users] Nunit and log4net
If you are running the NUnit gui, and your test is creating log
entries, you should see
them in the log tab. If you are running nunit-console, you must
specify the usual
log4net entries in the config file for the tests.
Charlie.
________________________________
From: [email protected]
[mailto:[email protected]] On Behalf Of Fer
Carena
Sent: Wednesday, November 07, 2007 8:22 AM
To: [email protected]
Subject: [Nunit-users] Nunit and log4net
hello, how are you?
Install v2.4.4 of Nunit. I have a testing where use
nunit and log4net, but I was not generated log log4net. As solve this
problem, I have to set something?
Now many thanks
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Nunit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nunit-users