Closed GoogleCodeExporter closed 9 years ago
Hi Olof,
We prefer to have the actor's name in front of the logged message.
Also, in your code I have the impression that it would never reach the
trace/debug part as the isInfoEnabledd will also trigger then?
So I would do something like :
public void logInfo(String logMessage) {
if (LOGGER.isTraceEnabled() || LOGGER.isDebugEnabled())
LOGGER.debug( this.getFullName() + " - " + logMessage);
else if (LOGGER.isInfoEnabled())
LOGGER.info( this.getName() + " - " + logMessage);
}
Original comment by erwin...@gmail.com
on 5 Dec 2012 at 8:05
Hi Erwin,
I agree with your changes. Thanks in advance for adding this code to the
Passerelle repository!
Olof
Original comment by s.olof.svensson@gmail.com
on 5 Dec 2012 at 12:34
done.
Original comment by erwin...@gmail.com
on 9 Dec 2012 at 2:55
Original issue reported on code.google.com by
s.olof.svensson@gmail.com
on 30 Nov 2012 at 8:38