{"id":281,"date":"2012-11-12T10:24:30","date_gmt":"2012-11-12T09:24:30","guid":{"rendered":"http:\/\/hirt.se\/blog\/?p=281"},"modified":"2020-11-18T10:58:16","modified_gmt":"2020-11-18T09:58:16","slug":"mission-control-troubleshooting-tip-logging","status":"publish","type":"post","link":"https:\/\/hirt.se\/blog\/?p=281","title":{"rendered":"Mission Control Troubleshooting Tip &ndash; Logging"},"content":{"rendered":"<p>So, you\u2019re having a bad day. Mission Control isn\u2019t behaving the way it is supposed to, and you would really like it to be a bit more verbose about what it is doing. These are things you can try to make Mission Control a bit more talkative:<\/p>\n<ol>\n<li>Start Mission Control in debug mode, by adding the \u2013debug flag. This will change the default java.util logging settings to also output FINE information. A note of caution &#8211; this may make various subsystems, such as chart rendering, to output debugging information in the GUI too.<\/li>\n<li>If FINE is not enough, you\u00a0 can specify your own logging properties file in the preferences, directly under the Mission Control preference node. You can use the logging_debug.properties file in the com.jrockit.mc.rcp.application plugin as a starting point.<\/li>\n<li>Enable logging of Eclipse RCP related issues to the console, by specifying the \u2013consoleLog flag.<\/li>\n<li>On windows, the jrmc launcher is derived from the javaw launcher \u2013 you will need to redirect stderr like this: 2&gt;&amp;1.<\/li>\n<\/ol>\n<p>For example:<\/p>\n<blockquote><p><span style=\"font-family: Courier New;\">jmc \u2013consoleLog \u2013debug 2&gt;&amp;1 | more<\/span><\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>So, you\u2019re having a bad day. Mission Control isn\u2019t behaving the way it is supposed to, and you would really like it to be a bit more verbose about what it is doing. These are things you can try to make Mission Control a bit more talkative: Start Mission Control in debug mode, by adding [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-281","post","type-post","status-publish","format-standard","hentry","category-java-mission-control-fair-dj"],"_links":{"self":[{"href":"https:\/\/hirt.se\/blog\/index.php?rest_route=\/wp\/v2\/posts\/281","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hirt.se\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hirt.se\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hirt.se\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/hirt.se\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=281"}],"version-history":[{"count":4,"href":"https:\/\/hirt.se\/blog\/index.php?rest_route=\/wp\/v2\/posts\/281\/revisions"}],"predecessor-version":[{"id":1292,"href":"https:\/\/hirt.se\/blog\/index.php?rest_route=\/wp\/v2\/posts\/281\/revisions\/1292"}],"wp:attachment":[{"href":"https:\/\/hirt.se\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=281"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hirt.se\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=281"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hirt.se\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=281"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}