<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/20486" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2018-07-13T09:49:25-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/20486</id>

		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2018-07-13T09:49:25-04:00</updated>

		<published>2018-07-13T09:49:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106937#p106937</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106937#p106937"/>
		<title type="html"><![CDATA[pisg 0.73 + Eggdrop log = error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106937#p106937"><![CDATA[
<blockquote class="uncited"><div><br>There was an error in the config file <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_redface.gif" width="15" height="15" alt=":oops:" title="Embarassed"> <br></div></blockquote>Welcome to the human race.    <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>I looked at what you posted a time or two, and didn't see it either.<br><br><br>However you finally found it - good for you.  Glad you found it, and got it working.   Thanks for letting us know what the problem was.<br><br>Have fun with it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Fri Jul 13, 2018 9:49 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[taxick]]></name></author>
		<updated>2018-07-13T09:31:12-04:00</updated>

		<published>2018-07-13T09:31:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106936#p106936</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106936#p106936"/>
		<title type="html"><![CDATA[pisg 0.73 + Eggdrop log = error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106936#p106936"><![CDATA[
Hi, <br><br>Thanks for your reply...<br><br>There was an error in the config file <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_redface.gif" width="15" height="15" alt=":oops:" title="Embarassed"> <br><br>Reinstalled the script and config and now it works... <br><br>This topic can be closed.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9146">taxick</a> — Fri Jul 13, 2018 9:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2018-07-13T09:17:03-04:00</updated>

		<published>2018-07-13T09:17:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106935#p106935</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106935#p106935"/>
		<title type="html"><![CDATA[Re: pisg 0.73 + Eggdrop log = error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106935#p106935"><![CDATA[
It choked on danmark, right?<br>But when you tried it with just one, you tried it with futurenode.<br><br>For the heck of it,  try it with just one - two different times.  Once with the exact same config as is in the original  .cfg file,  for futurenode.  Then again with just one, using the exact same config lines from the .cfg file that fails, for danmark.<br><br>Can't hurt to experiment.<br>Will only take a couple minutes.<br>Hopefully something will happen that will provide more clues.<br><blockquote class="uncited"><div>Looking for logfiles in /home/ircd/egg-stats/logs/danmark/</div></blockquote>You have double checked?  They are there, right?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Fri Jul 13, 2018 9:17 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[taxick]]></name></author>
		<updated>2018-07-12T16:13:42-04:00</updated>

		<published>2018-07-12T16:13:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106934#p106934</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106934#p106934"/>
		<title type="html"><![CDATA[pisg 0.73 + Eggdrop log = error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106934#p106934"><![CDATA[
Hi,<br><br>I hope somone can help me. I have a problem with pisg 0.73 and my eggdrop bot (1.8.3)<br><br>I have set the following up ind pisg.cfg:<br><blockquote class="uncited"><div>&lt;channel="#futurenode"&gt;<br> LogDir = "/home/ircd/egg-stats/logs/futurenode/"<br> Format = "eggdrop"<br> Network = "Futurenode.net"<br> Lang = "DA"<br> Charset = "utf-8"<br> Maintainer = "Taxick"<br> Outputfile = "/var/www/stats/futurenode/index.html"<br> PicLocation = "/futurenode/gfx"<br>&lt;/channel&gt;<br><br>&lt;channel="#danmark"&gt;<br> LogDir = "/home/ircd/egg-stats/logs/danmark/"<br> Format = "eggdrop"<br> Network = "Futurenode.net"<br> Lang = "DA"<br> Charset = "utf-8"<br> Maintainer = "Taxick"<br> Outputfile = "/var/www/stats/danmark/index.html"<br> PicLocation = "/danmark/gfx"<br> LogPrefix = "log"<br>&lt;/channel&gt;</div></blockquote>And my eggdrop log settings are: <br><blockquote class="uncited"><div>##### LOG FILES #####<br><br># Eggdrop is capable of logging various things, from channel chatter to<br># commands people use on the bot and file transfers. Logfiles are normally<br># kept for 24 hours. Afterwards, they will be renamed to "(logfile).yesterday".<br># After 48 hours, they will be overwritten by the logfile of the next day.<br>#<br># Events are logged by certain categories. This way, you can specify<br># exactly what kind of events you want sent to various logfiles.<br>#<br># Logfile flags:<br>#   b - information about bot linking and userfile sharing<br>#   c - commands<br>#   d - misc debug information<br>#   h - raw share traffic<br>#   j - joins, parts, quits, topic changes, and netsplits on the channel<br>#   k - kicks, bans, and mode changes on the channel<br>#   m - private msgs, notices and ctcps to the bot<br>#   o - misc info, errors, etc (IMPORTANT STUFF)<br>#   p - public text on the channel<br>#   r - raw incoming server traffic<br>#   s - server connects, disconnects, and notices<br>#   t - raw botnet traffic<br>#   v - raw outgoing server traffic<br>#   w - wallops (make sure the bot sets +w in init-server)<br>#   x - file transfers and file-area commands<br>#<br># Note that modes d, h, r, t, and v can fill disk quotas quickly. There are<br># also eight user-defined levels (1-8) which can be used by Tcl scripts.<br>#<br># Each logfile belongs to a certain channel. Events of type 'k', 'j', and 'p'<br># are logged to whatever channel they happened on. Most other events are<br># currently logged to every channel. You can make a logfile belong to all<br># channels by assigning it to channel "*".<br><br>#  This is the maximum number of concurrent logfiles that can be opened<br>#  for writing at one time. At most, this value should be the maximum<br>#  number of channels you expect to create log files for. There is no<br>#  value for 'infinity'; very few cases should ever require more than 20.<br>#  A decrease to this value while running will require a restart (not rehash)<br>#  of the bot. However, don't decrease it below 5.<br>set max-logs 20<br><br># This is the maximum size of your logfiles. Set it to 0 to disable.<br># This value is in kilobytes, so '550' would mean cycle logs when it<br># reaches the size of 550 kilobytes. Note that this only works if you<br># have keep-all-logs 0 (OFF).<br>set max-logsize 0<br><br># This could be good if you have had problem with the logfile filling<br># your quota/hard disk or if you log +p and publish it to the web and<br># need more up-to-date info. Note that this setting might increase the<br># CPU usage of your bot (on the other hand it will decrease your mem usage).<br>set quick-logs 0<br><br># This setting allows you the logging of raw incoming server traffic via<br># console/log flag 'r', raw outgoing server traffic via console/log mode 'v',<br># raw botnet traffic via console/log mode 't', and raw share traffic via<br># console/log mode 'h'. These flags can create a large security hole,<br># allowing people to see user passwords. This is now restricted to +n users<br># only. Please choose your owners with care.<br>set raw-log 0<br><br># This creates a logfile named eggdrop.log containing private msgs/ctcps,<br># commands, errors, and misc. info from any channel.<br>logfile mco * "logs/stats.log"<br><br># This creates a logfile named lamest.log containing joins, parts,<br># netsplits, kicks, bans, mode changes, and public chat on the<br># channel #lamest.<br>logfile jpk #futurenode "logs/futurenode/futurenode.log"<br>logfile jpk #help "logs/help/help.log"<br>logfile jpk #danmark "logs/danmark/danmark.log"<br><br># Use this feature to timestamp entries in the log file.<br>set log-time 1<br><br># Set the following to the timestamp for the logfile entries. Popular times<br># might be "[%H:%M]" (hour, min), or "[%H:%M:%S]" (hour, min, sec).<br># Read `man strftime' for more formatting options.  Keep it below 32 chars.<br>set timestamp-format {[%H:%M:%S]}<br><br># If you want to keep your logfiles forever, turn this setting on. All<br># logfiles will get suffix ".[day, 2 digits][month, 3 letters][year, 4 digits]".<br># Note that your quota/hard-disk might be filled by this, so check your<br># logfiles often and download them.<br>set keep-all-logs 1<br><br># If keep-all-logs is 1, this setting will define the suffix of the logfiles.<br># The default will result in a suffix like "04May2000". "%Y%m%d" will produce<br># the often used yyyymmdd format. Read the strftime manpages for more options.<br># NOTE: On systems which don't support strftime, the default format will<br># be used _always_.<br>set logfile-suffix ".%d%m%Y"<br><br># You can specify when Eggdrop should switch logfiles and start fresh. You<br># must use military time for this setting. 300 is the default, and describes<br># 03:00 (AM).<br>set switch-logfiles-at 300<br><br># "Writing user file..." and "Writing channel file..." messages won't be logged<br># anymore if this option is enabled. If you set it to 2, the "Backing up user<br># file..." and "Backing up channel file..." messages will also not be logged.<br># In addition to this, you can disable the "Switching logfiles..." and the new<br># date message at midnight, by setting this to 3.<br>set quiet-save 0</div></blockquote>But when i try to run .pisg, i get this error: <br><blockquote class="uncited"><div>ircd@futurenode:~/pisg$ ./pisg<br>pisg v0.73 - Perl IRC Statistics Generator<br><br>Using config file: pisg.cfg<br><br>Statistics for channel #futurenode @ Futurenode.net by Taxick<br><br>Looking for logfiles in /home/ircd/egg-stats/logs/futurenode/...<br><br>1 logfile(s) found, using eggdrop format...<br><br>Analyzing log /home/ircd/egg-stats/logs/futurenode/futurenode.log... 2 days, 28 lines total<br>Channel analyzed successfully in 00 hours, 00 minutes and 00 seconds on Thu Jul 12 22:06:14 2018<br><br>Now generating HTML (DA) in /var/www/stats/futurenode/index.html...<br>Statistics for channel #danmark @ Futurenode.net by Taxick<br><br>Looking for logfiles in /home/ircd/egg-stats/logs/danmark/...<br><br>No files in "/home/ircd/egg-stats/logs/danmark/" matched prefix "log"<br>0 logfile(s) found, using eggdrop format...<br><br>Channel analyzed successfully in 00 hours, 00 minutes and 00 seconds on Thu Jul 12 22:06:14 2018<br><br><strong class="text-strong">No parseable lines found in logfile (0 total lines). Skipping.<br>-&gt; You might be using the wrong format.<br>-&gt; A common error is that the logs do not contain timestamps for each line.<br>ircd@futurenode:~/pisg$</strong></div></blockquote><br><br>If I only add one channel to the pisg.conf<br><br>like this: <br><br><br><blockquote class="uncited"><div>&lt;channel="#futurenode"&gt;<br> LogDir = "/home/ircd/egg-stats/logs/futurenode/"<br> Format = "eggdrop"<br> Network = "Futurenode.net"<br> Lang = "DA"<br> Charset = "utf-8"<br> Maintainer = "Taxick"<br> Outputfile = "/var/www/stats/futurenode/index.html"<br> PicLocation = "/futurenode/gfx"<br>&lt;/channel&gt;</div></blockquote>It works fine!<br><br>So my big question is.. Can someone help me out here...<br><br>EDIT<br><br>The log files look like this: <br><blockquote class="uncited"><div>[22:23:01] stats joined #futurenode.<br>[22:24:18] Jefe (<a href="mailto:Jefe@FN-j0k.8qu.cna0vp.IP">Jefe@FN-j0k.8qu.cna0vp.IP</a>) joined #futurenode.<br>[22:24:21] Jefe (<a href="mailto:Jefe@FN-j0k.8qu.cna0vp.IP">Jefe@FN-j0k.8qu.cna0vp.IP</a>) left irc: Changing host<br>[22:24:21] Jefe (<a href="mailto:Jefe@bot.at.futurenode.net">Jefe@bot.at.futurenode.net</a>) joined #futurenode.<br>[22:24:21] #futurenode: mode change '+h Jefe' by ChanServ!<a href="mailto:ChanServ@services.at.futurenode.net">ChanServ@services.at.futurenode.net</a><br>[22:25:00] &lt;Taxick&gt; <a href="https://www.imdb.com/title/tt0111161/?ref_=rvi_tt" class="postlink">https://www.imdb.com/title/tt0111161/?ref_=rvi_tt</a></div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9146">taxick</a> — Thu Jul 12, 2018 4:13 pm</p><hr />
]]></content>
	</entry>
	</feed>
