/
Debugging vcap_java_client and Cloud Foundry APIs
Debugging vcap_java_client and Cloud Foundry APIs
Log the status of all HTTP requests
For example:
// TODO use RestLogger to format this client.registerRestLogListener(new RestLogCallback() { @Override public void onNewLogEntry(RestLogEntry logEntry) { CloudFoundryServiceVcap.this.logger.error( logEntry.getUri() + " " + logEntry.getMethod() + " " + logEntry.getHttpStatus() + " " + logEntry.getStatus() + " " + logEntry.getMessage() ); } });
Log all HTTP traffic for Cloud Foundry
log4j config
Category is org.apache.http.wire Set it to DEBUG
, multiple selections available,
Related content
Version 3 Release Overview
Version 3 Release Overview
More like this
Cloud Foundry for Bamboo
Cloud Foundry for Bamboo
More like this
Welcome
More like this
Variable Types
Variable Types
More like this
Setting Plan variables
Setting Plan variables
More like this