Hello,
I need to log in different files based on thread group.
So I created my own RepositorySelector which supports exactly this
scenario but in order for this to work I cannot have
static Logger logger = Logger.getLogger("X");
because the last instance that is created is setting the logger object
and this is not the desired result.
I have to use
Logger logger = Logger.getLogger("X");
but I have seen in so many places recomendations against such usage.
How bad is it, to NOT use static logger;
Considering the feature request would such a solution be acceptable;
thank you
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org
|