]> gitweb.michael.orlitzky.com - dead/htsn.git/blob - doc/htsnrc.example
2158504374e5ea5885106009311b1b18db94316c
[dead/htsn.git] / doc / htsnrc.example
1 # Example configuration file for htsn. For this to take effect, you
2 # would need to place it in $HOME/.htsnrc. On Windows, it probably
3 # needs to go in %APPDATA%, or C:\Users\<username>\Application Data.
4
5
6 # The username used to connect to the feed.
7 #
8 # Default: none (required)
9 #
10 # username = "whoever"
11
12
13 # The password associated with your TSN username.
14 #
15 # Default: none (required)
16 #
17 # password = "whatever"
18
19
20 # By default, XML files will be written to the current working
21 # directory. Often this is not desirable, and you would rather save
22 # them to a specific location. Specify it here.
23 #
24 # Default: "."
25 #
26 # output-directory = "/var/lib/htsn"
27
28
29 # A list of hostnames that supply the feed. You probably don't need to
30 # change this, but you can.
31 #
32 # Default: ["feed1.sportsnetwork.com",
33 # "feed2.sportsnetwork.com",
34 # "feed3.sportsnetwork.com"]
35 #
36 # feed-hosts = [ "hostname1", "hostname2", ... ]
37
38
39 # Do you want to log to syslog? On Windows this will attempt to
40 # communicate (over UDP) with a syslog daemon on localhost, which will
41 # most likely not work.
42 #
43 # Default: False
44 #
45 # syslog = True
46
47
48 # If you specify a file path here, logs will be written to it
49 # (possibly in addition to syslog). Can be either a relative or
50 # absolute path. It will not be auto-rotated; use something like
51 # logrotate for that.
52 #
53 # Default: none
54 #
55 # log_file = /var/log/htsn/htsn.log
56
57
58 # How verbose should the logs be? Valid levels are,
59 #
60 # "INFO", "WARNING", "ERROR"
61 #
62 # (there are others, but we don't emit them.)
63 #
64 # Default: "INFO"
65 #
66 # log_level = "WARNING"