From aec78b9368c31bca54eadd9353086f4da1b4078f Mon Sep 17 00:00:00 2001 From: Andreas Beeker Date: Mon, 16 May 2016 09:49:17 +0000 Subject: 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 --- src/integrationtest/commons-logging.properties | 1 + src/integrationtest/log4j.properties | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 src/integrationtest/commons-logging.properties create mode 100644 src/integrationtest/log4j.properties (limited to 'src/integrationtest') 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 -- cgit v1.2.3