From ff6431ea5939d6a175ce73a1e52bd027fc954a8f Mon Sep 17 00:00:00 2001 From: zhouyahui Date: Sun, 3 Jun 2018 22:36:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=BA=E5=88=B6=E6=8F=90=E4=BA=A4ADE?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E6=BA=90=E5=92=8C=E6=97=A5=E5=BF=97=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WebContent/META-INF/MANIFEST.MF | 3 +++ WebContent/META-INF/context.xml | 19 ++++++++++++++++ WebContent/WEB-INF/etc/simplelog.properties | 24 +++++++++++++++++++++ 3 files changed, 46 insertions(+) create mode 100644 WebContent/META-INF/MANIFEST.MF create mode 100644 WebContent/META-INF/context.xml create mode 100644 WebContent/WEB-INF/etc/simplelog.properties diff --git a/WebContent/META-INF/MANIFEST.MF b/WebContent/META-INF/MANIFEST.MF new file mode 100644 index 000000000..254272e1c --- /dev/null +++ b/WebContent/META-INF/MANIFEST.MF @@ -0,0 +1,3 @@ +Manifest-Version: 1.0 +Class-Path: + diff --git a/WebContent/META-INF/context.xml b/WebContent/META-INF/context.xml new file mode 100644 index 000000000..8b1536381 --- /dev/null +++ b/WebContent/META-INF/context.xml @@ -0,0 +1,19 @@ + + + + + + + diff --git a/WebContent/WEB-INF/etc/simplelog.properties b/WebContent/WEB-INF/etc/simplelog.properties new file mode 100644 index 000000000..0deb89482 --- /dev/null +++ b/WebContent/WEB-INF/etc/simplelog.properties @@ -0,0 +1,24 @@ +############################################################ +# Simple properties +############################################################ +com.amarsoft.are.log.SimpleLog.level=all +#handlers Can be com.amarsoft.are.log.impl.ConsoleHandler,com.amarsoft.are.log.impl.FileHandler +com.amarsoft.are.log.SimpleLog.handlers=com.amarsoft.are.log.impl.ConsoleHandler,com.amarsoft.are.log.impl.FileHandler,com.amarsoft.are.log.impl.simple.WarnFileHandler + +com.amarsoft.are.log.impl.simple.WarnFileHandler.level = error; + +com.amarsoft.are.log.impl.simple.WarnFileHandler.pattern = d:/tmp/log/a3web_warn_%g.log + +com.amarsoft.are.log.impl.simple.WarnFileHandler.limit = 1024000 + +com.amarsoft.are.log.impl.FileHandler.level = debug +#com.amarsoft.are.log.impl.FileHandler.pattern = {$ARE.APP_HOME}/log/a3web_%D_%g.log + +com.amarsoft.are.log.impl.FileHandler.pattern = d:/tmp/log/a3web_%D_%g.log + +com.amarsoft.are.log.impl.FileHandler.limit = 10240000 +com.amarsoft.are.log.impl.FileHandler.count = 10 +com.amarsoft.are.log.impl.FileHandler.append = true +com.amarsoft.are.log.impl.FileHandler.formatter = com.amarsoft.are.log.impl.simple.SimpleFormatter + +com.amarsoft.are.log.impl.ConsoleHandler.level = all