Code: Select all
OutputTag
Name
OutputTag -- tag to insert into OutputFile
Synopsis
<channel="#channel">
LogDir = "logs/"
Format = "eggdrop"
OutputFile = "mychan%t.html"
OutputTag = "-week"
</channel>
<set OutputTag="-week">
Description
OutputTag specifies a string that will replace occurrences of "%t" in OutputFile. This option is most useful when used as a command line switch (-t) to pisg in conjunction with NFiles (-nf). Example:
$ pisg -co pisg.conf
$ pisg -co pisg.conf -nf 8 -t -week
Leaving out the OutputTag settings from the above pisg.conf snippet, this writes both the full statistics (mychan.html) and statistics for the last week (mychan-week.html) using the same pisg config file. (Assuming that there are separate logfiles for each day.)
Default
unset
NFiles
Name
NFiles -- parse only the last files in LogDir
Synopsis
<channel="#channel">
LogDir="/home/foo/eggdrop/logs/"
NFiles="8"
Format="eggdrop"
</channel>
<set NFiles="8">
Description
When NFiles is set to a positive integer, pisg will process only the last that much logfiles from Logfile and LogDir options. Useful to create statistics that cover the last week or month (assuming there are separate logfile per day/week/etc.).
Default
0 (process all files)
Thanks in advance for any suggestions/help.[/code]