I don't want to use normal hierarchy rules dependent on code. Can I specify a custom one in log4net.config?
I mean that now hierarchy is automatically figured out by dots in logger name like First.Second.Third
=> First
inherits root
settings, Second
inherits First
, Third
inherits Second
, but assume I want to specify that First.Second.Third
should inherit root2
settings. Is it possible?
I need this to remove duplication in logger settings where normally root
settings are ok but for some loggers I want to specify other settings without doing it separately for each logger.