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

	<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>2008-02-08T23:43:21-04:00</updated>

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

		<entry>
		<author><name><![CDATA[starpossen]]></name></author>
		<updated>2008-02-08T23:43:05-04:00</updated>

		<published>2008-02-08T23:43:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80769#p80769</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80769#p80769"/>
		<title type="html"><![CDATA[[Solved]Logfile flags being ignored]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80769#p80769"><![CDATA[
Thanks alot for your reply, all is as I wanted it to be now.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7219">starpossen</a> — Fri Feb 08, 2008 11:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DragnLord]]></name></author>
		<updated>2008-02-08T21:30:58-04:00</updated>

		<published>2008-02-08T21:30:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80767#p80767</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80767#p80767"/>
		<title type="html"><![CDATA[[Solved]Logfile flags being ignored]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80767#p80767"><![CDATA[
cat logfile.log | sed -e '/QUIT/d' -e '/JOIN/d' -e '/PART/d' &gt; newlog.log &amp;&amp; mv newlog.log logfile.log<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4461">DragnLord</a> — Fri Feb 08, 2008 9:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[starpossen]]></name></author>
		<updated>2008-02-08T15:36:38-04:00</updated>

		<published>2008-02-08T15:36:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80761#p80761</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80761#p80761"/>
		<title type="html"><![CDATA[[Solved]Logfile flags being ignored]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80761#p80761"><![CDATA[
Speaking of sed, I got sed working on windows, using links in the topic I linked to in an earlier post in this topic, so if you could show or tell me what commands/parameters used in unix, maybe I could try and use it, and I would like thank you all for replying to my questions eventhough this is regarding my windrop and not my other eggs who are running under linux.<br><br>But as I asked, I would be thrilled if you could point me in the right direction regarding the sed and how to remove unwanted entries in unix.<br><br>*EDIT* I used google and found help here: <a href="http://www.grymoire.com/Unix/Sed.html" class="postlink">http://www.grymoire.com/Unix/Sed.html</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7219">starpossen</a> — Fri Feb 08, 2008 3:36 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DragnLord]]></name></author>
		<updated>2008-02-08T14:21:33-04:00</updated>

		<published>2008-02-08T14:21:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80757#p80757</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80757#p80757"/>
		<title type="html"><![CDATA[not an eggdrop (or windrop) problem, strictly operator probl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80757#p80757"><![CDATA[
Log settings only apply to what the bot logs, not to what you put in there.<br>This issue is an operator problem.<br>You will have to "clean" the log yourself. Since you are doing this on a Windows machine, I do not know an "easy" way to remove the unwanted entries on Win32 as it can be done with sed on a UNIX-like operating system.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4461">DragnLord</a> — Fri Feb 08, 2008 2:21 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2008-02-08T14:16:20-04:00</updated>

		<published>2008-02-08T14:16:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80756#p80756</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80756#p80756"/>
		<title type="html"><![CDATA[[Solved]Logfile flags being ignored]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80756#p80756"><![CDATA[
That would explain alittle, yes..<br>Changing logging-settings will not affect what has been logged sofar, only what will be logged in the future.<br><br>As for "cleaning" your logfiles, I'd recommend writing a simple script using pattern-matching (such as regular expressions).<br>If you got some tool such as grep, you could try something like this, I suppose:<div class="codebox"><p>Code: </p><pre><code>[user@host logs]# egrep -v '\[([0-9:]{5})\] [^ ]+ \([^ ]+\) (joined|left|got|returned) .*' logfile</code></pre></div>The regular expression could probably be used with regexp in tcl-coding without too many issues.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Fri Feb 08, 2008 2:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[starpossen]]></name></author>
		<updated>2008-02-08T12:51:34-04:00</updated>

		<published>2008-02-08T12:51:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80753#p80753</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80753#p80753"/>
		<title type="html"><![CDATA[[Solved]Logfile flags being ignored]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80753#p80753"><![CDATA[
I did restart several times, and im using  Windrop v1.6.18 and yes im well aware of this is not a windrop forum, however, I think I need to mention this:<br><a href="http://forum.egghelp.org/viewtopic.php?t=15352" class="postlink">http://forum.egghelp.org/viewtopic.php?t=15352</a><br><br>I did a conversion of a mIRC log to eggdrop log, and the mIRC had quits, and parts etc.<br>After the convertion where everything ran fine, thus still showing quits etc. AND using just p in logfil parameters, it still showed everything, so I guess my convertion messed up since it still keps all the reason quits etc.<br><br>Yesterday I tried with a fresh new eggdrop log, using only p<br>and that works as it should, only logging normal chat, but it's sad if I can't use the "big" log.<br><br>Is there a way to "clean" a log from quits, parts and all that?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7219">starpossen</a> — Fri Feb 08, 2008 12:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DragnLord]]></name></author>
		<updated>2008-02-08T11:08:04-04:00</updated>

		<published>2008-02-08T11:08:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80751#p80751</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80751#p80751"/>
		<title type="html"><![CDATA[[Solved]Logfile flags being ignored]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80751#p80751"><![CDATA[
<blockquote class="uncited"><div>no worries <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> sorry for mix up. <blockquote class="uncited"><div>logfile pk #lamest "logs/lamest.log"</div></blockquote> would do it. I think you just need to cycle the current log file and then <blockquote class="uncited"><div>.restart</div></blockquote> the bot <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"></div></blockquote>What part of starpossen's post showing that was already done did you miss??<br><br>What version eggdrop is this issue happening on?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4461">DragnLord</a> — Fri Feb 08, 2008 11:08 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TCL_no_TK]]></name></author>
		<updated>2008-02-08T03:17:16-04:00</updated>

		<published>2008-02-08T03:17:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80744#p80744</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80744#p80744"/>
		<title type="html"><![CDATA[[Solved]Logfile flags being ignored]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80744#p80744"><![CDATA[
no worries <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> sorry for mix up. <blockquote class="uncited"><div>logfile pk #lamest "logs/lamest.log"</div></blockquote> would do it. I think you just need to cycle the current log file and then <blockquote class="uncited"><div>.restart</div></blockquote> the bot <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=8130">TCL_no_TK</a> — Fri Feb 08, 2008 3:17 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[starpossen]]></name></author>
		<updated>2008-02-07T03:06:56-04:00</updated>

		<published>2008-02-07T03:06:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80713#p80713</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80713#p80713"/>
		<title type="html"><![CDATA[[Solved]Logfile flags being ignored]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80713#p80713"><![CDATA[
Sorry for being unclear, what I want NOT to be logged is:<div class="codebox"><p>Code: </p><pre><code>JoinsPartsQuitsNetsplits</code></pre></div>I only want it to log normal chat and kicks, normal stuff.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7219">starpossen</a> — Thu Feb 07, 2008 3:06 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TCL_no_TK]]></name></author>
		<updated>2008-02-07T02:03:14-04:00</updated>

		<published>2008-02-07T02:03:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80709#p80709</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80709#p80709"/>
		<title type="html"><![CDATA[[Solved]Logfile flags being ignored]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80709#p80709"><![CDATA[
Do you want it to log joins, parts, quits and netsplits? or not? <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_confused.gif" width="15" height="15" alt=":?" title="Confused"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8130">TCL_no_TK</a> — Thu Feb 07, 2008 2:03 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[starpossen]]></name></author>
		<updated>2008-02-06T14:11:45-04:00</updated>

		<published>2008-02-06T14:11:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80697#p80697</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80697#p80697"/>
		<title type="html"><![CDATA[[Solved]Logfile flags being ignored]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80697#p80697"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>[19:07:25] &lt;bot&gt; Logfile #1: logs/eggdrop.log on * (mco: msgs, cmds, misc)[19:07:25] &lt;bot&gt; Logfile #2: logs/mychannel.log on #mychannel (pk: public, kicks/modes)</code></pre></div>Is what it shows in partyline for that section in questio.<br>I don't get it, It simply ignores to not log the j part.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7219">starpossen</a> — Wed Feb 06, 2008 2:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TCL_no_TK]]></name></author>
		<updated>2008-02-06T04:19:28-04:00</updated>

		<published>2008-02-06T04:19:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80677#p80677</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80677#p80677"/>
		<title type="html"><![CDATA[[Solved]Logfile flags being ignored]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80677#p80677"><![CDATA[
Check the log settings displayed from the output of dcc command <span style="text-decoration:underline">.status all</span> and re-check the flags that way.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8130">TCL_no_TK</a> — Wed Feb 06, 2008 4:19 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[starpossen]]></name></author>
		<updated>2008-02-08T23:43:21-04:00</updated>

		<published>2008-02-06T03:48:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80676#p80676</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80676#p80676"/>
		<title type="html"><![CDATA[[Solved]Logfile flags being ignored]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80676#p80676"><![CDATA[
I didn't want my bot to log all those joins, parts, quits etc.<br>so I thought that removing the j would solve this as the<br>conf says:<br><div class="codebox"><p>Code: </p><pre><code>##### LOG FILES ###### Eggdrop is capable of logging various things, from channel chatter to# commands people use on the bot and file transfers. # Events are logged by certain categories. This way, you can specify# exactly what kind of events you want sent to various logfiles.## Logfile flags:#   j - joins, parts, quits, and netsplits on the channel</code></pre></div>therefor I change mine from:<br><br>logfile jpk #lamest "logs/lamest.log"<br>to:<br>logfile pk #lamest "logs/lamest.log"<br><br>But it still logs the quits and such.<br><br>Did I miss something?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7219">starpossen</a> — Wed Feb 06, 2008 3:48 am</p><hr />
]]></content>
	</entry>
	</feed>
