diff --git a/History.md b/History.md index 865d410b..7b7227ca 100644 --- a/History.md +++ b/History.md @@ -26,6 +26,8 @@ switch - change from ZUGFeRDExporter to IZUGFeRDExporter - javadoc export - have visualizer +- validate as library doc +- unify loggers ### 2.0 still todo @@ -33,14 +35,11 @@ switch - verapdf as prevalidation? - visualization? zugferdvisualizer? - new sample invoice -- validate as library doc - prompt for source file for validation has to be pdf - be able to disable "source pdf set to timeout" - automated tests zuv/verapdf validate created library test files -- unify loggers - *visualizer to work with Extended profile - *visualizer tests -- *validator not to log to stdout - *validator not to XR error on ZF files (only notices) - *from A3 does not seem tow ork see mustangreaderwriteredgetest:testedgeexport - xmp errors may not show correctly in log @@ -50,7 +49,6 @@ switch - confirm correct generation from pdf/a3 files zf2edgetest - *correctiontest exports zf1+zf2? - *use validator in tests of library -- *invoiceprovider currencyid missing - *USt 0% wird aus invoice-klasse noch nicht sauber abgefangen - *ownContact sollte in einen Contact schreiben diff --git a/Mustang-CLI/src/main/resources/logback.xml b/Mustang-CLI/src/main/resources/logback.xml index 5bfbb0db..3c190b02 100644 --- a/Mustang-CLI/src/main/resources/logback.xml +++ b/Mustang-CLI/src/main/resources/logback.xml @@ -1,6 +1,7 @@ - + + System.err %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n @@ -24,6 +25,6 @@ - + diff --git a/library/src/main/resources/logback.xml b/library/src/main/resources/logback.xml new file mode 100644 index 00000000..3c190b02 --- /dev/null +++ b/library/src/main/resources/logback.xml @@ -0,0 +1,30 @@ + + + + System.err + + %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n + + + + + + + + log/ZUV-%d{yyyy-MM}.log + + + 60 + + + + %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n + + + + + + + + + diff --git a/validator/src/main/resources/logback.xml b/validator/src/main/resources/logback.xml index 5c52d73c..aed3e946 100644 --- a/validator/src/main/resources/logback.xml +++ b/validator/src/main/resources/logback.xml @@ -1,8 +1,9 @@ - + + System.err - %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n + %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n @@ -24,6 +25,6 @@ - + - \ No newline at end of file +