SyslogHandler: fix truncation of last digit of PID
SyslogHandler: default to pid = null if name does not match pattern