Hi, I've got an application, where I would like to obtain loggers on the fly, because the logger name isn't known in advance. (Think of it as a logging server, which will be used by remote clients.)
Now, creating a Logger might be an expensive operation. Thus, my question: - Would you recommend to always invoke LogManager.getLogger(String) and use the result? - Or would it be better to maintain a Map<String,Logger> with the logger name as key? Thanks, Jochen -- The next time you hear: "Don't reinvent the wheel!" http://www.keystonedevelopment.co.uk/wp-content/uploads/2014/10/evolution-of-the-wheel-300x85.jpg --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-user-h...@logging.apache.org