<?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/9093" />

	<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>2005-02-02T08:10:44-04:00</updated>

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

		<entry>
		<author><name><![CDATA[ciar]]></name></author>
		<updated>2005-02-02T08:10:44-04:00</updated>

		<published>2005-02-02T08:10:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46120#p46120</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46120#p46120"/>
		<title type="html"><![CDATA[how to make eggdrop create only 1 logfile for a channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46120#p46120"><![CDATA[
<blockquote class="uncited"><div>...or read doc/TRICKS</div></blockquote><div class="codebox"><p>Code: </p><pre><code> - If you don't want your logfiles to be deleted after two days and don't    want the bot to create a new logfile each new day, then set 'keep-all-logs'    to 0 and 'switch-logfiles-at' to 2500 in your bot's config file to make it    keeping one logfile all the time. This is not recommended on high traffic    channels.</code></pre></div><strong class="text-strong">user</strong> - u rock! <br><strong class="text-strong">Alchera</strong> - thanks a mill, I am indeed using pisg for the stats, but "user"'s fix is supreme!! <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>thanks a mill everyone for the help &amp; advice! <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5957">ciar</a> — Wed Feb 02, 2005 8:10 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2005-02-01T20:55:33-04:00</updated>

		<published>2005-02-01T20:55:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46097#p46097</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46097#p46097"/>
		<title type="html"><![CDATA[how to make eggdrop create only 1 logfile for a channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46097#p46097"><![CDATA[
...or read doc/TRICKS<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Tue Feb 01, 2005 8:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2005-02-01T19:43:43-04:00</updated>

		<published>2005-02-01T19:43:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46094#p46094</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46094#p46094"/>
		<title type="html"><![CDATA[how to make eggdrop create only 1 logfile for a channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46094#p46094"><![CDATA[
Then use these settings:<blockquote class="uncited"><div>set max-logs 5<br>set max-logsize 0<br>set quick-logs 0<br><br>logfile mbco * "logs/lame.log"<br>logfile jpk #lame "stats/lame.log"<br><br>set log-time 1<br>set keep-all-logs 1<br>set logfile-suffix ".%d%b%Y"<br>set switch-logfiles-at 300<br>set quiet-save 1</div></blockquote>.. and use pisg to pull it all together into one stats page for you. Too easy!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Tue Feb 01, 2005 7:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ciar]]></name></author>
		<updated>2005-02-01T17:27:39-04:00</updated>

		<published>2005-02-01T17:27:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46093#p46093</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46093#p46093"/>
		<title type="html"><![CDATA[how to make eggdrop create only 1 logfile for a channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46093#p46093"><![CDATA[
<blockquote class="uncited"><div>This is better in my opinion, eventualy the file will become very large and you'll need to delete it. Thus, I find having a separate logfile for each day is better; anyways, if you want it to log into only one file then I'm sure a tcl script can do this task very well.</div></blockquote>I guess i'll  have to find a tcl script to do it then  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><br>Cos i'm trying to log to one file, as I'm logging an IRC channel and want to create stats from the log, hence it needs to be 1 single log file infinitly!<br><br>Thanks for the feedback anyway! <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5957">ciar</a> — Tue Feb 01, 2005 5:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2005-02-01T16:38:12-04:00</updated>

		<published>2005-02-01T16:38:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46092#p46092</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46092#p46092"/>
		<title type="html"><![CDATA[how to make eggdrop create only 1 logfile for a channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46092#p46092"><![CDATA[
<blockquote class="uncited"><div>##### LOG FILES #####<br><br>set max-logs 5<br>set max-logsize 0<br>set quick-logs 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 mbco * "logs/botnick.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 #lamest "logs/lamest.log"<br><br>set log-time 1<br>set keep-all-logs 0<br>set logfile-suffix ".%d%b%Y"<br>set switch-logfiles-at 300<br>set quiet-save 1</div></blockquote>The above settings will give you two files (one for eggdrop &amp; one for the channel). Every 24hrs both logs are moved to files with extention .yesterday. There are never more than 4 files.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Tue Feb 01, 2005 4:38 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-02-01T15:49:08-04:00</updated>

		<published>2005-02-01T15:49:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46091#p46091</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46091#p46091"/>
		<title type="html"><![CDATA[how to make eggdrop create only 1 logfile for a channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46091#p46091"><![CDATA[
This is better in my opinion, eventualy the file will become very large and you'll need to delete it. Thus, I find having a separate logfile for each day is better; anyways, if you want it to log into only one file then I'm sure a tcl script can do this task very well.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue Feb 01, 2005 3:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ciar]]></name></author>
		<updated>2005-02-01T15:09:30-04:00</updated>

		<published>2005-02-01T15:09:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46090#p46090</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46090#p46090"/>
		<title type="html"><![CDATA[how to make eggdrop create only 1 logfile for a channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46090#p46090"><![CDATA[
<blockquote class="uncited"><div># If you want to keep your logfiles forever, turn this setting on. <strong class="text-strong">All</strong><br># <strong class="text-strong">logfiles will get suffix ".[day, 2 digits][month, 3 letters][year, 4 digits]".</strong><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 0<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%b%Y"<br><br><strong class="text-strong"># 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</strong></div></blockquote>My question was not how to make it keep all logs.. it was how to get it to log to just ONE file.<br>From what I can see, this will cycle the log file, and hence you will have a seperate log file for every single day.<br><br>So hence I ask again if you will  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"> how do I get it to log to just one file?  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cry.gif" width="15" height="15" alt=":cry:" title="Crying or Very sad"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5957">ciar</a> — Tue Feb 01, 2005 3:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2005-02-01T11:34:46-04:00</updated>

		<published>2005-02-01T11:34:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46076#p46076</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46076#p46076"/>
		<title type="html"><![CDATA[how to make eggdrop create only 1 logfile for a channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46076#p46076"><![CDATA[
Hint: 'keep-all-logs' and do as all favor and read the comments available in the .conf file if you haven't found (as you say) a answer for your question.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Tue Feb 01, 2005 11:34 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-02-01T11:26:51-04:00</updated>

		<published>2005-02-01T11:26:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46072#p46072</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46072#p46072"/>
		<title type="html"><![CDATA[how to make eggdrop create only 1 logfile for a channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46072#p46072"><![CDATA[
Check the LOG FILES section in your eggdrop's conf file.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue Feb 01, 2005 11:26 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ciar]]></name></author>
		<updated>2005-02-01T11:04:38-04:00</updated>

		<published>2005-02-01T11:04:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46068#p46068</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46068#p46068"/>
		<title type="html"><![CDATA[how to make eggdrop create only 1 logfile for a channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46068#p46068"><![CDATA[
I apologise profusely if this has been asked before but:<br><br>How can you force eggdrop not to cycle logfiles once a day? As in just to keep logging a particular channel to one channel.log file?<br><br>Thanks a million in advance guys, ESPECIALLY if this has been asked before but I have searched high and low for this  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cry.gif" width="15" height="15" alt=":cry:" title="Crying or Very sad"> <br><br>Thank you!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5957">ciar</a> — Tue Feb 01, 2005 11:04 am</p><hr />
]]></content>
	</entry>
	</feed>
