If you are pushing an application with
LOGGING_LEVEL_ORG_CLOUDFOUNDRY_SECURITY set to
DEBUG, you may observe
STG ERR or
ERR INFO logs even though the logs don't point to a real error, and the application starts and functions as expected.
Example 1
2021-07-21T09:45:41.723-05:00 [STG/0] [ERR] [Buildpack] DEBUG Instantiating JavaBuildpack::Framework::ContrastSecurityAgent
2021-07-21T09:45:41.757-05:00 [STG/0] [ERR] [Buildpack] DEBUG Successfully required JavaBuildpack::Framework::ContrastSecurityAgent
2021-07-21T09:45:41.758-05:00 [STG/0] [ERR] [ConfigurationUtils] DEBUG Configuration from /tmp/buildpacks/42c4e116ef6e5968871a863f88c4c4db/config/contrast_security_agent.yml: {"version"=>"3.8.2_19262", "repository_root"=>"https://download.run.pivotal.io/contrast-security"}
2021-07-21T09:45:41.758-05:00 [STG/0] [ERR] [Droplet] DEBUG Droplet root: /tmp/app
2021-07-21T09:45:41.758-05:00 [STG/0] [ERR] [Droplet] DEBUG Buildpack root: /tmp/app/.java-buildpack
2021-07-21T09:45:41.758-05:00 [STG/0] [ERR] [Droplet] DEBUG Sandbox root: /tmp/app/.java-buildpack/contrast_security_agent
Example 2
2021-09-02T23:55:40.31+0200 [APP/PROC/WEB/0] ERR Sep 02, 2021 9:55:40 PM org.cloudfoundry.security.CloudFoundryContainerTrustManagerFactory getSystemTrustManager
2021-09-02T23:55:40.31+0200 [APP/PROC/WEB/0] ERR INFO: Adding System Trust Manager
2021-09-02T23:55:40.31+0200 [APP/PROC/WEB/0] ERR Sep 02, 2021 9:55:40 PM org.cloudfoundry.security.CloudFoundryContainerTrustManagerFactory getContainerTrustManager
2021-09-02T23:55:40.31+0200 [APP/PROC/WEB/0] ERR INFO: Adding TrustManager for /etc/ssl/certs/ca-certificates.crt
2021-09-02T23:55:40.43+0200 [APP/PROC/WEB/0] ERR Sep 02, 2021 9:55:40 PM org.cloudfoundry.security.FileWatcher run
2021-09-02T23:55:40.43+0200 [APP/PROC/WEB/0] ERR INFO: Start watching /etc/ssl/certs/ca-certificates.crt
2021-09-02T23:55:40.59+0200 [APP/PROC/WEB/0] ERR Sep 02, 2021 9:55:40 PM org.cloudfoundry.security.FileWatchingX509ExtendedTrustManager <init>
2021-09-02T23:55:40.59+0200 [APP/PROC/WEB/0] ERR INFO: Initialized TrustManager for /etc/ssl/certs/ca-certificates.crt