Add an API to get the logging process' PID from EventLogger