1# onis 0.8.2 - config - 2005-06-07 2#================================== 3# http://verplant.org/onis/ 4 5# This options tells onis what type of logfiles to expect. Valid values 6# are ``Dircproxy'', ``Eggdrop'', ``Irssi'', ``mIRC'' and ``xchat''. 7logtype: "Eggdrop"; 8 9# Thif option is available for scripts to set the input source once and 10# for all. Since wildcards are not interpreted this is of little use for 11# the averange user. 12#input: "/path/to/my/file"; 13 14# Sets the output file. This has to be a file, not a directory. This is 15# also mostly interesting for scripts. 16#output: "/var/www/html/ircstats/cannel.html"; 17 18# Set this option to ``true'' to have onis overwrite files without 19# promting. Default is to ask. 20overwrite: "false"; 21 22# Sets the users-config file to use. By default reads ``users.conf''. 23#users_config: "users.conf"; 24 25# Purge logs that have been parsed. Two modes of operation can be 26# selected: ``truncate'' deletes the content of file but lets the file 27# life on. This might be usefull for clients that don't create new logs 28# automatically.. The other mode, ``delete'', well, deletes parsed files. 29# This might come in handy when a client creates a new logfile for every 30# day. 31#purge_logs: "truncate"; 32 33# Set this to your (nick)name to see it appear on the stats page. Uses 34# your username if you don't set anything here. 35#user: "mynick"; 36 37# Explicitly set the channel's name here. For most logfiles this is not 38# neccessary, but it is for some. ``Dircproxy'' to be specific. 39#channel: "#ourchannel"; 40 41# Load these plugins. These are all available plugins as of now, but this 42# is a development release. The missing one(s) will be back.. 43plugin: "Weekdays"; 44plugin: "Longterm"; 45plugin: "Conversations"; 46plugin: "BigNumbers"; 47plugin: "Words"; 48plugin: "Nicks"; 49plugin: "Urls"; 50plugin: "Topics"; 51plugin: "InterestingNumbers"; 52plugin: "Userdetails"; 53 54# In order to recognize users who use dialin-accounts or have for some 55# other reason changing hostnames it is neccessary to unsharp the host. 56# This options says how much to unsharp it. Valid values are ``none'', 57# ``Light'', ``Medium'' and ``Hard''. Most people will go best with 58# ``Medium''.. 59unsharp: "Medium"; 60 61# Sets the minimum length for a word. ``5'' is a good value to start 62# with.. 63min_word_length: 5; 64 65# Sort the main table by this field. Valid values are ``Lines'', ``Words'' 66# and ``Chars''. Defaults to ``Lines''. 67sort_by: "Words"; 68 69# Display the following fields in the given format. Valid formats are 70# ``None'', ``Number'', ``Bar'' and ``Both''. 71display_lines: "None"; 72display_words: "Both"; 73display_chars: "None"; 74 75# Sets wether or not user-images are displayed. Defaults to not display 76# the images, since by default none are defined.. 77#display_images: "false"; 78 79# Sets the default image which is displayed for users which don't have an 80# image set. If not set no image will be displayed for those users. If a 81# theme sets a default image and you want to un-set is, use "". 82#default_image: "light-theme/unknown.png"; 83 84# If set to true a bar indicating the time when a user is most active is 85# being printed in the main table. 86display_times: "false"; 87 88# This options control which quotes are picked and how far back they can 89# reach. A line is put into the quote-cache if it is a least ``quote_min'' 90# and at most ``quote_max'' characters long. No more than 91# ``quote_cache_size'' quotes are stored in the cache to have recent 92# quotes if possible. 93quote_min: 30; 94quote_max: 80; 95quote_cache_size: 10; 96 97# ``longlines'' defines how many nicks are in the big main table, 98# ``shortlines'' sets the number of _lines_ in the smaller table below. 99# Keep in mind that there are six nicks per line in the smaller table.. 100longlines: 50; 101shortlines: 10; 102 103# The ``plugin_max'' option is used by various plugins to determine how 104# many records (lines, rows, etc) should be printed. 105plugin_max: 10; 106 107# Matching the nicks contained in a line very slow. So we use a trick 108# which is not as accurate but a lot faster. If you want to use the slow 109# but better solution instead, set this option to ``good''. Otherwise 110# leave at ``fast''. 111nick_match_type: "fast"; 112 113# The ``last used words'' plugin will ignore words shorter than this 114# value. This is not the same as ``min_word_length''! 115ignore_words: 5; 116 117# This many lines from the same person without interuption will be counted 118# as one soliloquy. 119soliloquies_count: 5; 120 121# onis can create a ``persistency'' or ``history'' file. If such exists 122# the already parsed part of a logfile can be skipped and unchanged 123# logfiles are skipped entirely. However, for this to work you have to 124# have ``Storable'' installed. If you have ``Storable'' installed but do 125# not wish onis to write and/or use such a file you can disable it here. 126#use_persistency: "true"; 127 128 129# 130# Storage / Persistency options 131# 132 133# First, set the storage module to use. This depends on the perl-modules you 134# have installed. If you don't know, ``Dbm'' is a wise choice. 135# None: 136# Don't use any storage module. Data is not stored at the end of each run and 137# you will have to re-parse all logs again. This is the default. 138# Dbm: 139# This storage-module uses DBM-files. The Perl-module ``AnyDBM_File'' is used 140# which is part of most Perl-distributions, i.e. it should work almost 141# anywhere. 142# Storable: 143# Uses the ``Storable'' module to simply copy internal variables to a file. 144# This may result in more memory usage. No benchmarks have been run yet, 145# though.. 146storage_module: "Dbm"; 147 148# Sets the filename to use for storing the data. This filename is relative to 149# ``storage_dir'' (see below). This option applies to the storage module 150# ``Storable''. 151storage_file: "storage.dat"; 152 153# Sets the directory in which the storage file(s) should be kept. This is used 154# by ``Dbm'' and ``Storable''. 155#storage_dir: "/home/user/.onis/data"; 156 157 158# 159# Output options 160# 161 162# If set to ``print'' prints out all color-codes. If set to ``ignore'' 163# color-codes will not be printed. Default is to ignore colors.. 164#color_codes: "print"; 165 166# Sets the document encoding. This must match your webserver's settings or 167# you'll experience some very weird characters.. 168# Defaults to ``iso-8859-1''. 169#encoding: "iso-8859-1"; 170 171# Style settings. If no theme is given this might result in a lot of very 172# weird errors, so better set one ;) 173# Valid themes as of onis 0.7.0: light, liner, dark 174theme: "themes/light.theme"; 175 176# Read translations from this file. 177# One of: 178# english.lang german.lang norwegian.lang spanish.lang swedish.lang 179language_file: "lang/english.lang"; 180