{"id":857,"date":"2018-03-21T12:45:25","date_gmt":"2018-03-21T21:45:25","guid":{"rendered":"\/blog\/?p=857"},"modified":"2023-09-21T09:37:36","modified_gmt":"2023-09-21T00:37:36","slug":"apache-tomcat-%eb%a1%9c%ea%b7%b8-%eb%81%84%ea%b8%b0","status":"publish","type":"post","link":"https:\/\/hasu0707.duckdns.org\/blog\/?p=857","title":{"rendered":"apache-tomcat \ub85c\uadf8 \ub044\uae30"},"content":{"rendered":"\n<div style=\"\"><span style=\"font-size: 16px;\"><strong><span style=\"font-family: Gulim, Dotum, &quot;Malgun Gothic&quot;, &quot;Arial Unicode MS&quot;, Tahoma, &quot;MS Serif&quot;;\">1. catalina.out<\/span><\/strong><\/span><\/div><div style=\"\"><span style=\"font-size: 12px;\"><br \/><\/span><\/div><div style=\"\"><span style=\"font-size: 12px; font-family: Gulim, Dotum, &quot;Malgun Gothic&quot;, &quot;Arial Unicode MS&quot;, Tahoma, &quot;MS Serif&quot;;\">catalina.sh\uc5d0<\/span><\/div><div style=\"\"><span style=\"font-size: 12px; font-family: Gulim, Dotum, &quot;Malgun Gothic&quot;, &quot;Arial Unicode MS&quot;, Tahoma, &quot;MS Serif&quot;;\">export CATALINA_OUT=\"\/dev\/null\"<\/span><\/div><div style=\"\"><span style=\"font-size: 12px; font-family: Gulim, Dotum, &quot;Malgun Gothic&quot;, &quot;Arial Unicode MS&quot;, Tahoma, &quot;MS Serif&quot;;\">\ub97c \ucd94\uac00\ud55c\ub2e4.<\/span><\/div><div style=\"\"><span style=\"font-size: 12px;\"><br \/><\/span><\/div><div style=\"\"><span style=\"font-size: 12px;\"><br \/><\/span><\/div><div style=\"\"><span style=\"font-size: 16px;\"><strong><span style=\"font-family: Gulim, Dotum, &quot;Malgun Gothic&quot;, &quot;Arial Unicode MS&quot;, Tahoma, &quot;MS Serif&quot;;\">2. \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \ub85c\uadf8<\/span><\/strong><\/span><\/div><div style=\"\"><span style=\"font-size: 12px;\"><br \/><\/span><\/div><div style=\"\"><span style=\"font-size: 12px;\"><strong><span style=\"font-family: Gulim, Dotum, &quot;Malgun Gothic&quot;, &quot;Arial Unicode MS&quot;, Tahoma, &quot;MS Serif&quot;;\">2-1.log4j<\/span><\/strong><\/span><\/div><div style=\"\"><span style=\"font-size: 12px;\"><br \/><\/span><\/div><div style=\"\"><span style=\"font-size: 12px; font-family: Gulim, Dotum, &quot;Malgun Gothic&quot;, &quot;Arial Unicode MS&quot;, Tahoma, &quot;MS Serif&quot;;\">&lt;apache-tomcat&gt;\/webapps\/<\/span><span style=\"font-size: 12px; font-family: Gulim, Dotum, &quot;Malgun Gothic&quot;, &quot;Arial Unicode MS&quot;, Tahoma, &quot;MS Serif&quot;;\">&lt;web app&gt;<\/span><span style=\"font-size: 12px; font-family: Gulim, Dotum, &quot;Malgun Gothic&quot;, &quot;Arial Unicode MS&quot;, Tahoma, &quot;MS Serif&quot;;\">\/WEB-INF\/classes\/log4j.properties<\/span><\/div><div style=\"\"><span style=\"font-size: 12px; font-family: Gulim, Dotum, &quot;Malgun Gothic&quot;, &quot;Arial Unicode MS&quot;, Tahoma, &quot;MS Serif&quot;;\">\ub97c \ud3b8\uc9d1\ud558\uc5ec \ub9e8 \uc544\ub798\uc5d0<\/span><\/div><div style=\"\"><span style=\"font-size: 12px; color: rgb(255, 0, 0); font-family: Gulim, Dotum, &quot;Malgun Gothic&quot;, &quot;Arial Unicode MS&quot;, Tahoma, &quot;MS Serif&quot;;\">log4j.rootLogger=OFF<\/span><\/div><div style=\"\"><span style=\"font-size: 12px; font-family: Gulim, Dotum, &quot;Malgun Gothic&quot;, &quot;Arial Unicode MS&quot;, Tahoma, &quot;MS Serif&quot;;\">\ub97c \ucd94\uac00\ud55c\ub2e4.<\/span><\/div><div style=\"\"><span style=\"font-size: 12px;\"><br \/><\/span><\/div><div style=\"\"><span style=\"font-size: 12px;\"><br \/><\/span><\/div><div style=\"\"><span style=\"font-size: 12px;\"><strong><span style=\"font-family: Gulim, Dotum, &quot;Malgun Gothic&quot;, &quot;Arial Unicode MS&quot;, Tahoma, &quot;MS Serif&quot;;\">2-2.log4j2<\/span><\/strong><\/span><\/div><div style=\"\"><span style=\"font-size: 12px;\"><br \/><\/span><\/div><div style=\"\"><span style=\"font-size: 12px; font-family: Gulim, Dotum, &quot;Malgun Gothic&quot;, &quot;Arial Unicode MS&quot;, Tahoma, &quot;MS Serif&quot;;\">&lt;apache-tomcat&gt;\/<\/span><span style=\"font-size: 12px; font-family: Gulim, Dotum, &quot;Malgun Gothic&quot;, &quot;Arial Unicode MS&quot;, Tahoma, &quot;MS Serif&quot;;\">webapps\/&lt;web app&gt;\/WEB-INF\/classes\/log4j2.xml<\/span><\/div><div style=\"\"><span style=\"font-size: 12px; font-family: Gulim, Dotum, &quot;Malgun Gothic&quot;, &quot;Arial Unicode MS&quot;, Tahoma, &quot;MS Serif&quot;;\">\ub97c \ud3b8\uc9d1\ud558\uc5ec \ub9e8 \uc544\ub798<\/span><\/div><div style=\"\"><span style=\"font-size: 12px;\"><span style=\"color: rgb(120, 92, 37); font-family: Gulim, Dotum, &quot;Malgun Gothic&quot;, &quot;Arial Unicode MS&quot;, Tahoma, &quot;MS Serif&quot;;\">&lt;\/Configuration&gt;<\/span><span style=\"font-family: Gulim, Dotum, &quot;Malgun Gothic&quot;, &quot;Arial Unicode MS&quot;, Tahoma, &quot;MS Serif&quot;;\"> \u2192 <\/span><span style=\"color: rgb(255, 0, 0); font-family: Gulim, Dotum, &quot;Malgun Gothic&quot;, &quot;Arial Unicode MS&quot;, Tahoma, &quot;MS Serif&quot;;\">&lt;Loggers&gt;&lt;Root level=\"off\"&gt;&lt;\/Root&gt;&lt;\/Loggers&gt;&lt;\/Configuration&gt;<\/span><\/span><\/div><div style=\"\"><span style=\"font-size: 12px; font-family: Gulim, Dotum, &quot;Malgun Gothic&quot;, &quot;Arial Unicode MS&quot;, Tahoma, &quot;MS Serif&quot;;\">\ub85c \ubcc0\uacbd\ud55c\ub2e4.<\/span><\/div>\n","protected":false},"excerpt":{"rendered":"<p>1. catalina.out catalina.sh\uc5d0 export CATALINA_OUT=&#8221;\/dev\/null&#8221; \ub97c \ucd94\uac00\ud55c\ub2e4. 2. \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \ub85c\uadf8 2-1.log4j &lt;apache-tomcat&gt;\/webapps\/&lt;web app&gt;\/WEB-INF\/classes\/log4j.properties \ub97c \ud3b8\uc9d1\ud558\uc5ec \ub9e8 \uc544\ub798\uc5d0 log4j.rootLogger=OFF \ub97c \ucd94\uac00\ud55c\ub2e4. 2-2.log4j2 &lt;apache-tomcat&gt;\/webapps\/&lt;web app&gt;\/WEB-INF\/classes\/log4j2.xml \ub97c \ud3b8\uc9d1\ud558\uc5ec \ub9e8 \uc544\ub798 &lt;\/Configuration&gt; \u2192 &lt;Loggers&gt;&lt;Root level=&#8221;off&#8221;&gt;&lt;\/Root&gt;&lt;\/Loggers&gt;&lt;\/Configuration&gt; \ub85c \ubcc0\uacbd\ud55c\ub2e4.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[23],"tags":[],"class_list":["post-857","post","type-post","status-publish","format-standard","hentry","category-development_web"],"_links":{"self":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/857","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=857"}],"version-history":[{"count":0,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/857\/revisions"}],"wp:attachment":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=857"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=857"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=857"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}