Created
December 20, 2012 06:20
-
-
Save relax-more/4343289 to your computer and use it in GitHub Desktop.
【メモ】 catalina.base ってどこで設定してんの?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
${catalina.base} がどこで設定されているのか気になって調べてみた。 | |
結果、JavaProcessの実行引数として下記のように渡されていた。 | |
-Dcatalina.base=/usr/local/tomcat | |
おしまい。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<xml> | |
<!-- 一部抜粋 --> | |
<appender name="file" class="org.apache.log4j.DailyRollingFileAppender"> | |
<param name="Threshold" value="${log.default.level}" /> | |
<param name="File" value="${catalina.base}/logs/any_service_webapp_log" /> | |
<param name="DatePattern" value="'.'yyyyMMdd" /> | |
<param name="Append" value="true" /> | |
<layout class="org.apache.log4j.PatternLayout"> | |
<param name="ConversionPattern" value="[%x] %d{yyyy-MM-dd HH:mm:ss} [%-5p] %m%n" /> | |
</layout> | |
</appender> | |
</xml> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment