Hello,

can we switch from commons-logging system to Log4J or even to standard
Java logging? When you make many detail logging statements which are
normally filtered in production environment system is still spending a
lot of time preparing text messages because commons logging doesn't
allow parametrized messages like:
log.info("text {1} {0}.{2}", param0, param1, param2);

You are forced to concat strings, what is HUGE performance bottleneck
because strings are constructed before they are filtered. Always to
make if(...) condition before I log something isn't good practice when
other logging systems solving it automatically.

Any ideas or thoughts in this area?

Pavel

------------------------------------------------------------------------------
_______________________________________________
Fornax-developer mailing list
Fornax-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to