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

	<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>2004-03-04T15:38:24-04:00</updated>

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

		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2004-03-04T15:38:24-04:00</updated>

		<published>2004-03-04T15:38:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34247#p34247</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34247#p34247"/>
		<title type="html"><![CDATA[Are quicker log updates possible?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34247#p34247"><![CDATA[
<blockquote class="uncited"><div>If you really want it to be every 30 seconds or so you could probably do it like this... (not tested)<br><div class="codebox"><p>Code: </p><pre><code>if {![info exists log_timer]} {  set log_timer [utimer flush_logs 30]}proc flush_logs {} {  global log_timer  set log_timer [utimer flush_logs 30]  foreach log [logfile] {    foreach {mode chan file} $log {}    logfile "" "" $file    logfile $mode $chan $file  }}</code></pre></div></div></blockquote>psst... format: utimer &lt;interval&gt; &lt;command&gt;<br><br>Also, I don't think you want an empty inner loop, would kinda defeat the purpose of looping at all.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Thu Mar 04, 2004 3:38 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2004-03-04T10:33:27-04:00</updated>

		<published>2004-03-04T10:33:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34233#p34233</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34233#p34233"/>
		<title type="html"><![CDATA[Are quicker log updates possible?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34233#p34233"><![CDATA[
If you really want it to be every 30 seconds or so you could probably do it like this... (not tested)<br><div class="codebox"><p>Code: </p><pre><code>if {![info exists log_timer]} {  set log_timer [utimer flush_logs 30]}proc flush_logs {} {  global log_timer  set log_timer [utimer flush_logs 30]  foreach log [logfile] {    foreach {mode chan file} $log {}    logfile "" "" $file    logfile $mode $chan $file  }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Thu Mar 04, 2004 10:33 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[b34r]]></name></author>
		<updated>2004-03-04T07:31:49-04:00</updated>

		<published>2004-03-04T07:31:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34229#p34229</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34229#p34229"/>
		<title type="html"><![CDATA[Are quicker log updates possible?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34229#p34229"><![CDATA[
This is in the config:<div class="codebox"><p>Code: </p><pre><code># This could be good if you have had problem with the logfile filling# your quota/hard disk or if you log +p and publish it to the web and# need more up-to-date info. Note that this setting might increase the# CPU usage of your bot (on the other hand it will decrease your mem usage).set quick-logs 1</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3355">b34r</a> — Thu Mar 04, 2004 7:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-03-02T19:49:47-04:00</updated>

		<published>2004-03-02T19:49:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34176#p34176</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34176#p34176"/>
		<title type="html"><![CDATA[Are quicker log updates possible?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34176#p34176"><![CDATA[
Hi,<br><br>I'm working on a small web-app that parses the channel log.  I need to be able to have an up to date log, currently it seems it takes around 5 minutes before the log is updated, is there anyway to tune this down to a lower value (30seconds or lower ideally)<br><br>I realise it's not a config command, would anyone have any idea where the time to update is set in the source files, I've been having a dig around but to no avail as yet, hope you can help :]<br><br>Cheers!<br><br>-- Doobeh<br><br>"If we can't play God, who will?"<p>Statistics: Posted by Guest — Tue Mar 02, 2004 7:49 pm</p><hr />
]]></content>
	</entry>
	</feed>
