Naming the log4net.config file?

A

Anders Eriksson

I have an assembly, a dll, that uses log4net for logging. This dll is used
from an exe that also uses log4net for logging

Which is better?
To use the same config file for both the exe and the dll or to separate
them into different?

Is there some standard on how to name the log4net.config file?

// Anders
 
A

Arne Vajhøj

I have an assembly, a dll, that uses log4net for logging. This dll is used
from an exe that also uses log4net for logging

Which is better?
To use the same config file for both the exe and the dll or to separate
them into different?

Is there some standard on how to name the log4net.config file?

I have always put the log4net config info in the app config file.

How much the DLL is going to log and where is really something
that depends on the EXE calling it.

Arne
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top