You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-dev@logging.apache.org by deepak singh <de...@gmail.com> on 2009/05/28 06:01:31 UTC

How to print there ID in decimal

I am using following pattern layout, Using [%-5t] to print the
thread name which prints  in hexadecimal.
Is there any way to print thread ID in decimal.

log4cxx::PatternLayout("%c-%p (%d{dd MMM yyyy HH:mm}) [%-5t] %m%n")

Thanks
Deepak