Logging bot detection, zombie checks, and prepending log statements with PID