From: Andreas Beeker Date: Mon, 16 May 2016 09:49:17 +0000 (+0000) Subject: added commons-logging to integration test to make profiling easier - just match the... X-Git-Tag: REL_3_15_BETA2~255 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=aec78b9368c31bca54eadd9353086f4da1b4078f;p=poi.git added commons-logging to integration test to make profiling easier - just match the timestamps of the log with the timestamps of the profiling monitor git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1744001 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/build.xml b/build.xml index 1d9b91fcd9..8f4bb29ce4 100644 --- a/build.xml +++ b/build.xml @@ -90,7 +90,10 @@ under the License. + + + @@ -282,6 +285,7 @@ under the License. + @@ -341,6 +345,7 @@ under the License. + @@ -1453,6 +1458,8 @@ under the License. + + @@ -2205,7 +2212,7 @@ under the License. - + diff --git a/src/integrationtest/commons-logging.properties b/src/integrationtest/commons-logging.properties new file mode 100644 index 0000000000..fdf106fd21 --- /dev/null +++ b/src/integrationtest/commons-logging.properties @@ -0,0 +1 @@ +log4j.configuration=log4j.properties \ No newline at end of file diff --git a/src/integrationtest/log4j.properties b/src/integrationtest/log4j.properties new file mode 100644 index 0000000000..971ba85d53 --- /dev/null +++ b/src/integrationtest/log4j.properties @@ -0,0 +1,25 @@ +log4j.rootLogger=info, R + +log4j.appender.R=org.apache.log4j.RollingFileAppender +log4j.appender.R.File=build/test-integration.log + +log4j.appender.R.MaxFileSize=1000KB +# Keep one backup file +log4j.appender.R.MaxBackupIndex=5 + +log4j.appender.R.layout=org.apache.log4j.PatternLayout +log4j.appender.R.layout.ConversionPattern=%d [%t] %-5p %c - %m%n + +log4j.logger.org.apache.poi.poifs.nio.FileBackedDataSource=ERROR +log4j.logger.org.apache.poi.hdgf.chunks.Chunk=FATAL +log4j.logger.org.apache.poi.hpsf.CodePageString=ERROR +log4j.logger.org.apache.poi.hdgf.chunks.ChunkFactory=ERROR +log4j.logger.org.apache.poi.hslf.model.textproperties.BitMaskTextProp=ERROR +log4j.logger.org.apache.poi.util.JvmBugs=ERROR +log4j.logger.org.apache.poi.hslf.usermodel.HSLFTextParagraph=ERROR +log4j.logger.org.apache.poi.openxml4j.opc.ZipPackage=ERROR +log4j.logger.org.apache.poi.POIDocument=WARN +log4j.logger.org.apache.poi.openxml4j.opc.OPCPackage=ERROR +log4j.logger.org.apache.poi.xssf.usermodel.XSSFWorkbook=ERROR +log4j.logger.org.apache.poi.hslf.usermodel.HSLFGroupShape=WARN +log4j.logger.org.apache.poi.hslf.record.Record=ERROR \ No newline at end of file