Add process ID to logs in server and worker