Logging for pem file testing