Hi, there is a problem printing thread-id on 64-bit:
log4cxx uses "StringHelper::toString(int, apr_pool_t*)" to convert the current thread-id to a string. On my machine thead-id is 64 bit unsigned (unsigned long), but int is only 32 bit and signed. There is a elegant solution in c++: ostringstream. We can use ostringstream to build the whole message. There is less hassle with formatting types then and it is a portable solution. What do you think? Tommi
