Naming the log4net.config file?

  • Thread starter Thread starter Anders Eriksson
  • Start date Start date
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
 
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
 
Back
Top