add some logging to help debug on production machines