aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-common/src/main/resources
diff options
context:
space:
mode:
authorAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2013-09-26 15:48:43 +0200
committerAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2013-09-26 15:48:43 +0200
commitfc44d4bcad00192f0df8f6086737b9b126094dcd (patch)
treea03a3018b6faba73309bf381337ea359ada10d01 /pdf-as-common/src/main/resources
parent1eb95549f597e6dcb0d028768bbdcfb94d0a91ef (diff)
downloadpdf-as-4-fc44d4bcad00192f0df8f6086737b9b126094dcd.tar.gz
pdf-as-4-fc44d4bcad00192f0df8f6086737b9b126094dcd.tar.bz2
pdf-as-4-fc44d4bcad00192f0df8f6086737b9b126094dcd.zip
initial code commit
Diffstat (limited to 'pdf-as-common/src/main/resources')
-rw-r--r--pdf-as-common/src/main/resources/resources/log4j.properties15
-rw-r--r--pdf-as-common/src/main/resources/resources/messages/common.properties8
2 files changed, 23 insertions, 0 deletions
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