diff options
author | Andreas Beeker <kiwiwings@apache.org> | 2016-05-16 09:49:17 +0000 |
---|---|---|
committer | Andreas Beeker <kiwiwings@apache.org> | 2016-05-16 09:49:17 +0000 |
commit | aec78b9368c31bca54eadd9353086f4da1b4078f (patch) | |
tree | c9d667900b9772dfe45a20214a475b274a3f3a24 /src/integrationtest | |
parent | 88ff4ab600db8caafed26b21837d74c8ab24509d (diff) | |
download | poi-aec78b9368c31bca54eadd9353086f4da1b4078f.tar.gz poi-aec78b9368c31bca54eadd9353086f4da1b4078f.zip |
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
Diffstat (limited to 'src/integrationtest')
-rw-r--r-- | src/integrationtest/commons-logging.properties | 1 | ||||
-rw-r--r-- | src/integrationtest/log4j.properties | 25 |
2 files changed, 26 insertions, 0 deletions
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 |