From fc44d4bcad00192f0df8f6086737b9b126094dcd Mon Sep 17 00:00:00 2001 From: Andreas Fitzek Date: Thu, 26 Sep 2013 15:48:43 +0200 Subject: initial code commit --- .../src/main/resources/resources/log4j.properties | 15 +++++++++++++++ .../main/resources/resources/messages/common.properties | 8 ++++++++ 2 files changed, 23 insertions(+) create mode 100644 pdf-as-common/src/main/resources/resources/log4j.properties create mode 100644 pdf-as-common/src/main/resources/resources/messages/common.properties (limited to 'pdf-as-common/src/main/resources') diff --git a/pdf-as-common/src/main/resources/resources/log4j.properties b/pdf-as-common/src/main/resources/resources/log4j.properties new file mode 100644 index 00000000..696db3ef --- /dev/null +++ b/pdf-as-common/src/main/resources/resources/log4j.properties @@ -0,0 +1,15 @@ +# Set root logger level to DEBUG and its only appender to A1. +log4j.rootLogger=INFO, A1 + +log4j.logger.at.gv.egiz=DEBUG +#log4j.A1.at.gv.egiz=true + +log4j.logger.developer=DEBUG +#log4j.A1.developer=true + +# A1 is set to be a ConsoleAppender. +log4j.appender.A1=org.apache.log4j.ConsoleAppender + +# A1 uses PatternLayout. +log4j.appender.A1.layout=org.apache.log4j.PatternLayout +log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n \ No newline at end of file diff --git a/pdf-as-common/src/main/resources/resources/messages/common.properties b/pdf-as-common/src/main/resources/resources/messages/common.properties new file mode 100644 index 00000000..a2729e21 --- /dev/null +++ b/pdf-as-common/src/main/resources/resources/messages/common.properties @@ -0,0 +1,8 @@ +# PDF Permission Errors +error.pdf.perm.01=You do not have permission to extract images. + +#PDF IO Errors +error.pdf.io.01=Failed to read original PDF Document into PDDocument. + +#Signature errors +error.pdf.sig.01=Failed to create signature! \ No newline at end of file -- cgit v1.2.3