{"id":178,"date":"2007-04-04T22:16:00","date_gmt":"2007-04-05T01:16:00","guid":{"rendered":"http:\/\/www.subterfugios.net\/blog\/arquivos\/2007\/04\/04\/tomcat-logging-juli\/"},"modified":"2007-04-04T22:19:16","modified_gmt":"2007-04-05T01:19:16","slug":"tomcat-logging-juli","status":"publish","type":"post","link":"https:\/\/www.subterfugios.net\/blog\/tomcat-logging-juli\/","title":{"rendered":"Tomcat Logging &#8211; JULI"},"content":{"rendered":"<p>O Tomcat 5.5 substitui o LogManager padr\u00e3o por um mais nervoso, chamado JULI, com suporte a configura\u00e7\u00f5es distintas por class loader e atalhos para configura\u00e7\u00e3o de handlers. Cuidado, por\u00e9m.<\/p>\n<p>Em desenvolvimento, ou ao iniciar o Tomcat por sua IDE ou por um launcher personalizado, voc\u00ea pode gastar tempo precioso tentando configurar seu log inutilmente, sem que o JULI esteja mesmo configurado como o LogManager da VM. Isso acontece porque essa configura\u00e7\u00e3o \u00e9 feita pelo script bin\/catalina.(sh|bat), n\u00e3o usado por voc\u00ea em seu launcher. As system properties s\u00e3o:<\/p>\n<p><code>-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager<br \/>\n-Djava.util.logging.config.file=$CATALINA_BASE\/conf\/logging.properties<br \/>\n<\/code><\/p>\n<p>Portanto, voc\u00ea deve set\u00e1-las tamb\u00e9m no seu launcher personalizado.<\/p>\n<p>O benef\u00edcio disso \u00e9 que agora voc\u00ea pode colocar um logging.properties no WEB-INF\/classes e ser feliz, por aplica\u00e7\u00e3o.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>O Tomcat 5.5 substitui o LogManager padr\u00e3o por um mais nervoso, chamado JULI, com suporte a configura\u00e7\u00f5es distintas por class loader e atalhos para configura\u00e7\u00e3o de handlers. Cuidado, por\u00e9m. Em desenvolvimento, ou ao iniciar o Tomcat por sua IDE ou &hellip; <a href=\"https:\/\/www.subterfugios.net\/blog\/tomcat-logging-juli\/\">Continue lendo <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[1],"tags":[],"class_list":["post-178","post","type-post","status-publish","format-standard","hentry","category-etc"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pAkyI-2S","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.subterfugios.net\/blog\/wp-json\/wp\/v2\/posts\/178","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.subterfugios.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.subterfugios.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.subterfugios.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.subterfugios.net\/blog\/wp-json\/wp\/v2\/comments?post=178"}],"version-history":[{"count":0,"href":"https:\/\/www.subterfugios.net\/blog\/wp-json\/wp\/v2\/posts\/178\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.subterfugios.net\/blog\/wp-json\/wp\/v2\/media?parent=178"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.subterfugios.net\/blog\/wp-json\/wp\/v2\/categories?post=178"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.subterfugios.net\/blog\/wp-json\/wp\/v2\/tags?post=178"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}