annotate backend/doc/conf/log4j.properties @ 9713:aef987124822 3.2.x

Do not rely on database default for setting hws_lines.official to 0 It's not under the control of the importer whether the field is rendered into an INSERT statement, whether it's actually set or not. If it is unset but rendered into the statement, the field would be set to NULL. Thus, always set it explicitly. While here, remove an unused import.
author Tom Gottfried <tom@intevation.de>
date Fri, 12 Mar 2021 15:11:44 +0100
parents 32682fa2127d
children
rev   line source
8670
32682fa2127d Move importer configuration to a single place.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
1 log4j.rootLogger=DEBUG, IMPORTER
32682fa2127d Move importer configuration to a single place.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
2 log4j.appender.IMPORTER.layout=org.apache.log4j.PatternLayout
32682fa2127d Move importer configuration to a single place.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
3 log4j.appender.IMPORTER.layout.ConversionPattern=%d [%t] %-5p %c - %m%n
32682fa2127d Move importer configuration to a single place.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
4 log4j.appender.IMPORTER=org.apache.log4j.RollingFileAppender
32682fa2127d Move importer configuration to a single place.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
5 log4j.appender.IMPORTER.File=./import.log
32682fa2127d Move importer configuration to a single place.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
6 log4j.appender.IMPORTER.MaxFileSize=100000KB
32682fa2127d Move importer configuration to a single place.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
7 log4j.appender.IMPORTER.MaxBackupIndex=10

http://dive4elements.wald.intevation.org