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.
6 # The username used to connect to the feed.
8 # Default: none (required)
10 # username = "whoever"
13 # The password used to connect to the feed.
15 # Default: none (required)
17 # password = "whatever"
20 # By default, htsn will output the XML files 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.
26 # output-directory = "/var/lib/htsn"
29 # A list of hostnames that supply the feed.
31 # Default: ["feed1.sportsnetwork.com",
32 # "feed2.sportsnetwork.com",
33 # "feed3.sportsnetwork.com"]
35 # feed-hosts = [ "hostname1", "hostname2", ... ]
38 # Do you want to log to syslog? If so, the log_file option below will
39 # be ignored. This will log to the event log on Windows.
46 # If syslog = False, which file should we use for a log? Can be either
47 # a relative or absolute path. It will not be auto-rotated; use
48 # something log logrotate for that.
52 # log_file = /var/log/htsn/htsn.log
55 # How verbose should the logs be? Valid levels are,
57 # "INFO", "WARNING", "ERROR"
59 # (there are others, but we don't emit them.)
63 # log_level = "WARNING"