#233: Adding pid replacer to log layout

This is a change to implement the feature requested in issue #233 (adding ability to add a pid to the log format)