lukeddy / log4jdbc

Automatically exported from code.google.com/p/log4jdbc
0 stars 0 forks source link

Enhancement: Add ability to set SpyLogDelegatorSelector #58

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I use logback and I need that each servlet use it's own LoggerContext.
See http://logback.qos.ch/manual/loggingSeparation.html
But because in SpyLogFactory:
  private static SpyLogDelegator logger;
This is not posible.
So I need the ability to set SpyLogDelegatorSelector and for example implement 
it to use different SpyLogDelegator for each thread.
For example, it's done in logback:
http://logback.qos.ch/apidocs/ch/qos/logback/classic/selector/ContextSelector.ht
ml

Original issue reported on code.google.com by MatveevA...@gmail.com on 6 Dec 2012 at 4:53

GoogleCodeExporter commented 9 years ago

Original comment by arthur.b...@gmail.com on 6 Dec 2012 at 5:46