Hi I've a few questions on logging I remember reading somewhere about it but I do not recall nor can I find it again.
1) Is the isDebugEnabled() necessary? Will string concatenation still happen if the method call is not reaching the loglevel?
2) The signature of the logging statements in seam do suggest a formatted text approach like "setting is %s" but I couldn't get that to work. I can imagine with this feature to work that the isEnabled functionality is redundant.
3) where and how can change the logsetting configuration?
Any hints or pointers to documentation would be appreciated.
Assuming you are talking about using Seam's @Logger
1) Not necessary, not sure about string concat
log.debug("#0 happened to #1", person1.getName(), person2.getName());