Let me explain my scenario first:
However, running the tests whilst profiling takes a lot longer (about 5 minutes to run all the tests, rather than 30 seconds). When i look through the timings in Ants Profiler, it seems log4net is being called in a lot of places, which seems to be taking up the time.
So, this is my question: how do i stop log4net logging stuff when i'm running the tests in this manner?
I can find 3 config files:
None of this seems to work, looking through the profile results i can see log4net being called, and it's definitely calling methods to output the logging information.
In the test setup, get the root logger and set it's log level to OFF.