Timestamp in Eggdrop Logfiles und Partyline

fremd

Registered User
Moin

ich habe einen Eggdrop aufgesetzt der mit PISG Statistiken generieren soll. Irgendwie sehe ich vor lauter Wald die Baume nicht. Wo muss ich drehen, dass die Logfiles die der Eggi schreibt nur Stunden und Minuten im Timestamp hat??

Bei meiner Conf stehen auch die Sekunden bei unfd ich befuerchte dass PISG deswegen am Format meckert.


Uli
 

tessa

Vorsicht Ätzend!
Hallo,

folgende Ordner im eggdrop-Ordner anlegen:

eggdrop_logs und channelname_logs (channelname mit deinem Channelnamen ersetzen)

eggdrop.conf
Code:
##### LOG FILES #####
set max-logs 500
set max-logsize 0
set quick-logs 1
set raw-log 0
logfile mco * "eggdrop_logs/eggdrop.log"
logfile jpok #[COLOR="Red"]channelname[/COLOR] "channelname_logs/[COLOR="Red"]channelname[/COLOR].log"
set log-time 1
set keep-all-logs 1
set logfile-suffix ".%d%b%Y"
set switch-logfiles-at 300
set quiet-save 1

pisg.cfg als Beispiel (Hier wichtig: set LogSuffix und die Pfade anpassen)
Code:
<set lang="DE" timeoffset="0">
<set PicLocation="./img">
<set NickTracking="1">
<set showtopics="1">
<set topichistory="5">
<set ShowMostNicks="1">
<set MostNicksHistory="10">
<set NickHistory="15">
<set ShowWords="1">
<set ShowWordTime="0">
<set ShowMuw="1">
<set ShowVoices="1">
<set ShowHalfops="1">
<set ShowWpl="1">
<set ShowCpl="1">
<set WordHistory="15">
<set ShowKickLine="1">
<set UrlHistory="10">
<set ActiveNicksByHour="20">
<set ShowMostActiveByHour="1">
<set ShowMostActiveByHourGraph="1">
<set ActiveNicks="20">
<set ActiveNicks2="10">
<set ShowLastSeen="1">
[COLOR="Red"]<set LogSuffix="\.\d\d([A-Za-z]+)\d\d\d\d||\.(\d\d)[A-Za-z]+\d\d\d\d||\.\d\d[A-Za-z]+(\d\d\d\d)">[/COLOR]


<channel="#channelname">
         [COLOR="Red"]LogDir = "/pfad/zu/eggdrop/channelname_logs/"[/COLOR]
         Format = "eggdrop"
         Lang = "DE" 
         ColorScheme ="darkgalaxy"
        Network= "Dein-Netzwerk"
         Maintainer = "Botname" 
         OutputFile = "/pfad/zum/eggdrop/stats/stats.html"
         ShowActiveTimes = "1"
         ShowWords = "1"
         ShowWpl = "1"
         ShowCpl = "1"
         ShowTopics = "1"
         ShowBigNumbers = "1"
         ShowLastSeen = "1"
         ShowTime = "1"
         ShowLineTime = "1"
         ShowRandQuote = "0"
         ShowLegend = "0"
         ShowKickLine = "0"
         ShowActionLine = "0"
         ShowShoutLine = "0"
         ShowMuw="0"
         ShowMru="0"
         ShowOps="0"
         ShowMrn="0"
         ShowMostNicks="0"
         ShowMostActiveByHour="1"
         ShowMostActiveByHourGraph="1"
         MinQuote = "2"
         ActiveNicks = "15"
         ActiveNicks2="20"
         ActiveNicksByHour="10"
         MostNicksHistory = "0"
         TopicHistory="1"
         NickTracking="1"
         UrlHistory="0" 
</channel>
Die Dateien haben dann das Format channelname.log.01Aug2010

Regards tessa
 
Top