{"action":"opened","issue":{"url":"https://api.github.com/repos/cloudfoundry/java-buildpack/issues/305","repository_url":"https://api.github.com/repos/cloudfoundry/java-buildpack","labels_url":"https://api.github.com/repos/cloudfoundry/java-buildpack/issues/305/labels{/name}","comments_url":"https://api.github.com/repos/cloudfoundry/java-buildpack/issues/305/comments","events_url":"https://api.github.com/repos/cloudfoundry/java-buildpack/issues/305/events","html_url":"https://github.com/cloudfoundry/java-buildpack/issues/305","id":161653481,"number":305,"title":"Tweak log output to highlight important messages","user":{"login":"C-Otto","id":344948,"avatar_url":"https://avatars.githubusercontent.com/u/344948?v=3","gravatar_id":"","url":"https://api.github.com/users/C-Otto","html_url":"https://github.com/C-Otto","followers_url":"https://api.github.com/users/C-Otto/followers","following_url":"https://api.github.com/users/C-Otto/following{/other_user}","gists_url":"https://api.github.com/users/C-Otto/gists{/gist_id}","starred_url":"https://api.github.com/users/C-Otto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/C-Otto/subscriptions","organizations_url":"https://api.github.com/users/C-Otto/orgs","repos_url":"https://api.github.com/users/C-Otto/repos","events_url":"https://api.github.com/users/C-Otto/events{/privacy}","received_events_url":"https://api.github.com/users/C-Otto/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-22T11:07:39Z","updated_at":"2016-06-22T11:07:39Z","closed_at":null,"body":"When pushing a Java application using the buildpack, I see many messages that contain little (new) information:\r\n\r\n```\r\n-----> Java Buildpack Version: v3.8 | https://github.com/cloudfoundry/java-buildpack.git#0837bc3\r\n-----> Downloading Open Jdk JRE 1.8.0_91-unlimited-crypto from https://java-buildpack.cloudfoundry.org/openjdk/trusty/x86_64/openjdk-1.8.0_91-unlimited-crypto.tar.gz (found in cache)\r\n       Expanding Open Jdk JRE to .java-buildpack/open_jdk_jre (2.0s)\r\n-----> Downloading Open JDK Like Memory Calculator 2.0.2_RELEASE from https://java-buildpack.cloudfoundry.org/memory-calculator/trusty/x86_64/memory-calculator-2.0.2_RELEASE.tar.gz (found in cache)\r\n[...]\r\n```\r\n\r\nHowever, in between there may be more important messages, like the following:\r\n\r\n```\r\n       There is more than 3 times more spare native memory than the default so configured Java memory may be too small or available memory may be too large\r\n       Memory Settings: -Xss500K -Xms500M -XX:MetaspaceSize=100M -Xmx500M -XX:MaxMetaspaceSize=100M\r\n```\r\n\r\nIt is hard to see this, and I think it is even harder to implement corresponding parsers.\r\n\r\nI propose to re-format the log messages, possibly by re-routing more important messages to STDERR."}}
{"actor":{"display_login":"C-Otto"}}