hi
add the following
[TestFixtureSetUp]
public void fixLog4Net()
{
log4net.Config.XmlConfigurator.Configure(new
System.IO.FileInfo("app.config"));
}
this should force loading the log4net
with kind regards
Ruben Willems
On Wed, Apr 7, 2010 at 9:35 AM, LosWochos
<[email protected]>wrote:
> Hello all,
>
> I'm using log4net in my unit tests to drop some debug messages. I
> configure log4net in the constructor of every test-class by calling
>
> log4net.Config.XmlConfigurator.Configure();
>
> An app.config is part of every test-project. When I execute these
> tests on my local maschine, the log-file is created in the Out-folder.
> Unfortunately, when cruisecontrol executes these tests, I do not see
> the log-file in the out-folder, nor the log-messages in the log-files
> of cruisecontrol.
>
> What do I do wrong? Is this a good setup?
>
> Regards,
>
> Alex
>
>
> --
> To unsubscribe, reply using "remove me" as the subject.
>