add logging to pinserver entry point