]> gitweb.michael.orlitzky.com - dead/htsn-import.git/blob - doc/htsn-importrc.example
11427972a6deb8b8f52fd6e4456ff5c434a7a34e
[dead/htsn-import.git] / doc / htsn-importrc.example
1 # Example configuration file for htsn-import. For this to take effect, you
2 # would need to place it in either the user or global configuration
3 # directories.
4 #
5 # For a user, that's either $HOME/.htsn-importrc on Unix or
6 # %APPDATA%\.htsn-importrc (e.g. C:\Users\<username>\Application
7 # Data\.htsn-importrc) on Windows.
8 #
9 # The global configuration directory is determined by Cabal. The
10 # "sysconfdir" parameter during the "configure" step will be used. On
11 # Unix, it's probably /etc, and this file will need to go in
12 # /etc/htsn-importrc.
13
14
15 # The RDBMS backend to use. Valid choices are "Sqlite" and
16 # "Postgres". Capitalization is important, sorry.
17 #
18 # Default: "Sqlite"
19 #
20 # backend = "Postgres"
21
22
23 # The connection string used for connecting to the database backend
24 # given by the "backend" option. The default is appropriate for
25 # the "Sqlite" backend.
26 #
27 # Default: ":memory:"
28 #
29 # connection_string = "dbname=htsn user=postgres"
30
31
32 # If you specify a file path here, logs will be written to it
33 # (possibly in addition to syslog). Can be either a relative or
34 # absolute path. It will not be auto-rotated; use something like
35 # logrotate for that.
36 #
37 # Default: none
38 #
39 # log_file = "/var/log/htsn/htsn.log"
40
41
42 # How verbose should the logs be? Valid levels are,
43 #
44 # "INFO", "WARNING", "ERROR"
45 #
46 # (there are others, but we don't emit them.)
47 #
48 # Default: "INFO"
49 #
50 # log_level = "WARNING"
51
52
53 # Remove successfully processed files. If you enable this, you can see
54 # at a glance which XML files are not being processed, because they're
55 # all that should be left.
56 #
57 # Default: false
58 #
59 # remove = true
60
61
62 # Do you want to log to syslog? On Windows this will attempt to
63 # communicate (over UDP) with a syslog daemon on localhost, which will
64 # most likely not work.
65 #
66 # Default: false
67 #
68 # syslog = true