X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=doc%2Fhtsnrc.example;h=8af53988d41121605b85da17f77ecad966e571f5;hb=160caf38b6e936b6541b31b3c9bbe952ba0a4b15;hp=18a5a3be3b60a81c811b3410c4a4663a0ca248b4;hpb=eab42a8effc71f75a585a540d92c9dd295c7c9c9;p=dead%2Fhtsn.git diff --git a/doc/htsnrc.example b/doc/htsnrc.example index 18a5a3b..8af5398 100644 --- a/doc/htsnrc.example +++ b/doc/htsnrc.example @@ -1,5 +1,7 @@ # Example configuration file for htsn. For this to take effect, you -# would need to place it in $HOME/.htsnrc +# would need to place it in $HOME/.htsnrc. On Windows, it probably +# needs to go in %APPDATA%, or C:\Users\\Application Data. + # The username used to connect to the feed. # @@ -7,24 +9,58 @@ # # username = "whoever" -# The password used to connect to the feed. + +# The password associated with your TSN username. # # Default: none (required) # # password = "whatever" -# By default, htsn will output the XML files to the current working + +# By default, XML files will be written to the current working # directory. Often this is not desirable, and you would rather save # them to a specific location. Specify it here. # -# Default: "." (here) +# Default: "." # # output-directory = "/var/lib/htsn" -# A list of hostnames that supply the feed. + +# A list of hostnames that supply the feed. You probably don't need to +# change this, but you can. # # Default: ["feed1.sportsnetwork.com", # "feed2.sportsnetwork.com", # "feed3.sportsnetwork.com"] # # feed-hosts = [ "hostname1", "hostname2", ... ] + + +# Do you want to log to syslog? On Windows this will attempt to +# communicate (over UDP) with a syslog daemon on localhost, which will +# most likely not work. +# +# Default: False +# +# syslog = True + + +# If you specify a file path here, logs will be written to it +# (possibly in addition to syslog). Can be either a relative or +# absolute path. It will not be auto-rotated; use something like +# logrotate for that. +# +# Default: empty +# +# log_file = /var/log/htsn/htsn.log + + +# How verbose should the logs be? Valid levels are, +# +# "INFO", "WARNING", "ERROR" +# +# (there are others, but we don't emit them.) +# +# Default: "INFO" +# +# log_level = "WARNING"