summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/resources
diff options
context:
space:
mode:
authorJakob Heher <jakob.heher@iaik.tugraz.at>2022-06-22 15:55:56 +0200
committerJakob Heher <jakob.heher@iaik.tugraz.at>2022-06-22 15:55:56 +0200
commit85723fc25e4f624ba2787cd63f9a84a55248edc9 (patch)
tree4b31a8066869a0a42819bc1f9f929336c8350e8b /pdf-over-gui/src/main/resources
parent0b36d9f6835346692be29ef0a8337a04e94030e7 (diff)
downloadpdf-over-85723fc25e4f624ba2787cd63f9a84a55248edc9.tar.gz
pdf-over-85723fc25e4f624ba2787cd63f9a84a55248edc9.tar.bz2
pdf-over-85723fc25e4f624ba2787cd63f9a84a55248edc9.zip
move logs to logs/ subfolder, and add "Show log directory" button to "about" configuration tab
Diffstat (limited to 'pdf-over-gui/src/main/resources')
-rw-r--r--pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages.properties1
-rw-r--r--pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages_de.properties1
-rw-r--r--pdf-over-gui/src/main/resources/logback.xml4
3 files changed, 4 insertions, 2 deletions
diff --git a/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages.properties b/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages.properties
index 00433fce..8745c8fc 100644
--- a/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages.properties
+++ b/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages.properties
@@ -123,6 +123,7 @@ config.DataProtectionURL=https://www.a-trust.at/MediaProvider/2357/datenschutzer
config.Advanced=Ad&vanced
config.Keystore=&Keystore
config.Simple=Basi&c
+config.ShowLogDirectory=Show Log Directory
dataSourceSelection.DropLabel=Drag document here
dataSourceSelection.DropLabel2=or...
dataSourceSelection.browse=&Browse for PDF on your computer
diff --git a/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages_de.properties b/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages_de.properties
index 96299f3e..00dd7958 100644
--- a/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages_de.properties
+++ b/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages_de.properties
@@ -114,6 +114,7 @@ config.DataProtectionURL=https://www.a-trust.at/MediaProvider/2357/datenschutzer
config.Advanced=Er&weitert
config.Keystore=&Keystore
config.Simple=&Einfach
+config.ShowLogDirectory=Logverzeichnis anzeigen
dataSourceSelection.DropLabel=Dokument hierher ziehen
dataSourceSelection.DropLabel2=oder...
dataSourceSelection.browse=&Durchsuchen um ein Dokument zu wählen
diff --git a/pdf-over-gui/src/main/resources/logback.xml b/pdf-over-gui/src/main/resources/logback.xml
index 9d916a92..a2b5155e 100644
--- a/pdf-over-gui/src/main/resources/logback.xml
+++ b/pdf-over-gui/src/main/resources/logback.xml
@@ -8,14 +8,14 @@
</encoder>
</appender>
<appender name="LOGFILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
- <file>${user.home}/.pdf-over/pdf-over.log</file>
+ <file>${user.home}/.pdf-over/logs/pdf-over.log</file>
<encoder>
<charset>UTF-8</charset>
<pattern>%-5p | %d | %t @ %c | %m%n</pattern>
</encoder>
<rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
<maxIndex>10</maxIndex>
- <FileNamePattern>${user.home}/.pdf-over/pdf-over.log.%i</FileNamePattern>
+ <FileNamePattern>${user.home}/.pdf-over/logs/pdf-over.log.%i</FileNamePattern>
</rollingPolicy>
<triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
<MaxFileSize>100KB</MaxFileSize>