X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=doc%2Fhtsnrc.example;fp=doc%2Fhtsnrc.example;h=0c265575f215adcacb351c3502aaf8be2fb53dd3;hb=52e788e676ea2a67ad20b23d2e5c5b351f27b834;hp=07c1a23a5e7dbe6479ad11898498eb18ee93abd3;hpb=49c23c133221c9686dde0d52d06904db8d048724;p=dead%2Fhtsn.git diff --git a/doc/htsnrc.example b/doc/htsnrc.example index 07c1a23..0c26557 100644 --- a/doc/htsnrc.example +++ b/doc/htsnrc.example @@ -2,18 +2,21 @@ # 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. # # Default: none (required) # # username = "whoever" + # The password used to connect to the feed. # # Default: none (required) # # password = "whatever" + # By default, htsn will output the XML files to the current working # directory. Often this is not desirable, and you would rather save # them to a specific location. Specify it here. @@ -22,6 +25,7 @@ # # output-directory = "/var/lib/htsn" + # A list of hostnames that supply the feed. # # Default: ["feed1.sportsnetwork.com", @@ -29,3 +33,31 @@ # "feed3.sportsnetwork.com"] # # feed-hosts = [ "hostname1", "hostname2", ... ] + + +# Do you want to log to syslog? If so, the log_file option below will +# be ignored. This will log to the event log on Windows. +# +# Default: True +# +# syslog = False + + +# If syslog = False, which file should we use for a log? Can be either +# a relative or absolute path. It will not be auto-rotated; use +# something log logrotate for that. +# +# Default: htsn.log +# +# 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"