Optimize logging: reduce strlen() calls
Optimize logging: reduce strlen() calls

This makes logging 0.1% faster.

cgvarela/passenger,antek-drzewiecki/passenger,antek-drzewiecki/passenger,antek-drzewiecki/passenger,clemensg/passenger,cgvarela/passenger,kewaunited/passenger,clemensg/passenger,cgvarela/passenger,cgvarela/passenger,antek-drzewiecki/passenger,clemensg/passenger,cgvarela/passenger,kewaunited/passenger,kewaunited/passenger,phusion/passenger,clemensg/passenger,phusion/passenger,phusion/passenger,clemensg/passenger,clemensg/passenger,phusion/passenger,kewaunited/passenger,kewaunited/passenger,cgvarela/passenger,kewaunited/passenger,clemensg/passenger,phusion/passenger,phusion/passenger,phusion/passenger,antek-drzewiecki/passenger,antek-drzewiecki/passenger,cgvarela/passenger,antek-drzewiecki/passenger,cgvarela/passenger,clemensg/passenger,kewaunited/passenger,kewaunited/passenger,antek-drzewiecki/passenger,phusion/passenger