{"id":57,"date":"2006-08-29T15:42:34","date_gmt":"2006-08-29T20:42:34","guid":{"rendered":"http:\/\/stein.everybody.org\/brain\/tomcat-is-ignoring-log4jproperties\/"},"modified":"2011-03-10T10:57:32","modified_gmt":"2011-03-10T15:57:32","slug":"tomcat-is-ignoring-log4jproperties","status":"publish","type":"post","link":"https:\/\/jeremystein.com\/brain\/tomcat-is-ignoring-log4jproperties\/","title":{"rendered":"Tomcat is ignoring log4j.properties"},"content":{"rendered":"<p>I thought tomcat was ignoring my log4j.properties until I realized that I wasn&#8217;t actually deploying the log4j jar.  I had to close and reopen MyEclipse and undeploy and deploy the web app to get it out there.<\/p>\n<p>Also, I learned that log4j.xml is not automatically detected in the classpath.  Use log4j.properties.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I thought tomcat was ignoring my log4j.properties until I realized that I wasn&#8217;t actually deploying the log4j jar. I had to close and reopen MyEclipse and undeploy and deploy the web app to get it out there. Also, I learned that log4j.xml is not automatically detected in the classpath. Use log4j.properties.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[33],"tags":[],"class_list":["post-57","post","type-post","status-publish","format-standard","hentry","category-java"],"_links":{"self":[{"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/posts\/57","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/comments?post=57"}],"version-history":[{"count":0,"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/posts\/57\/revisions"}],"wp:attachment":[{"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/media?parent=57"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/categories?post=57"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/tags?post=57"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}