egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

logs2html issues.

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
zEkE
Voice


Joined: 04 Jan 2011
Posts: 1
Location: Harrisonburg, VA

PostPosted: Tue Jan 04, 2011 2:29 pm    Post subject: logs2html issues. Reply with quote

Howdy all,

I've been searching for a while and not come up with anything, so I am finally giving in and asking for help.

I've been using logs2html for as long as I remember (2007, 2008?) and I've just recently noticed that the format of the HTML pages is not at all good.

Quote:
[00:23:42] kn_ (~kn_@uccn-F51 3FBE.hsd1.ga.comcast.net) joined #uccn.
[00:23:55] Hi kn_ 3FBE.hsd1.ga.comcast.net) joined #uccn.
[00:24:01] hi 3FBE.hsd1.ga.comcast.net) joined #uccn.
[00:24:12] How are you Happy New Year
[00:24:16] fine Happy New Year
[00:24:21] my is burning
[00:24:24] how about yo


I take a look at my HTML source:
Code:
   <div>&nbsp;<span class="time">[00:23:42] kn_ (~kn_@uccn-F51</span>&nbsp;<span class="else_j">&nbsp;3FBE.hsd1.ga.comcast.net) joined #uccn.</span></div>
         <div>&nbsp;<span class="time">[00:23:55] <peer> Hi kn_</peer></span>&nbsp;<span class="else_j">&nbsp;3FBE.hsd1.ga.comcast.net) joined #uccn.</span></div>
         <div>&nbsp;<span class="time">[00:24:01] <kn_> hi</kn_></span>&nbsp;<span class="else_j">&nbsp;3FBE.hsd1.ga.comcast.net) joined #uccn.</span></div>

         <div>&nbsp;<span class="time">[00:24:12] <peer> How are you</peer></span>&nbsp;<span class="else">&nbsp; Happy New Year</span></div>
         <div>&nbsp;<span class="time">[00:24:16] <kn_> fine</kn_></span>&nbsp;<span class="else">&nbsp; Happy New Year</span></div>
         <div>&nbsp;<span class="time">[00:24:21] <kn_> my <censored></censored></kn_></span>&nbsp;<span class="else">&nbsp; is burning</span></div>

         <div>&nbsp;<span class="time">[00:24:24] <kn_> how about yo</kn_></span>&nbsp;<span class="else">&nbsp;</span></div>


Now, please note: I have not touched the source in any way beyond looking to see if I could figure it out myself. I always compiled and installed with a clean distributed copy.

I had noticed it initially on version 2.3.4, and in my search I found an updated version which appeared my solve my problems, and so updated to 2.4.3. The problem remains.

My log files date back to November of 2008 for one channel, and late in 2010 for a second. Both sets of log files appear to be uncorrupted, but both channels are broken in the web pages.

The one thought I had was that perhaps a change in timestamp format had caused the problem. In Nov 2010, around when I started logging the second channel, the format of the timestamp changed from [HH:MM] to [HH:MM:SS]. I have ruled this out, however, by attempting to convert the new channel, which only has the new timestamp. These new files have exactly the same problem.

At this point I have run out of ideas on what to do. The only things I can come up with have all been ruled out.

Here is my setup:
Pentium 3, 866mHz.
Debian claims to be "Debian squeeze/sid"
Stock Debian kernel 2.6.32-5-686.
Eggdrop 1.6.20+SSL.

Here is my comment-stripped config:
Code:
set col-count 3

set lines-per-page 0

#set user-style user.css

set insert-encoding-str "windows-1251"

set start-year 2008

set dont-print-time 1

set dont-print-join 0

set dont-print-left 0

set dont-print-modechange 0

set dont-print-nickchange 0

set dont-print-kick 0

set dont-print-else 0

set month-block-orientation 0

#set mainpage-top ""
#set mainpage-bottom ""
#set logspage-top ""
#set logspage-bottom ""

loadmodule logs2html

addlogs2htmlchan "#uccn" "/home/bots/public_html/logs/" "index" "Logs from #UCCN" "uccn" "Log from #UCCN"
addlogs2htmlchan "#helmetheads" "/home/bots/public_html/logs/" "helmetheads" "Logs from #HelmetHeads" "helmetheads" "Log from #HelmetHeads"


Here is a complete (small) output from a log file:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
   <meta http-equiv="Content-Type" content="text/html; charset=windows-1251" />
   <meta name="title" content="Log from #UCCN" />
   <meta name="description" content="Log from #UCCN" />
   <meta name="generator" content="logs2html module for Eggdrop v.2.4.3" />
   <meta name="author" content="Fedotov Alexander aka shurikvz aka shmupsik" />
   <meta name="keywords" content="logs2html, logs, logging, channel, irc, bot, eggdrop, windrop, mirc, module, convert" />
   <meta name="robots" content= "index,all" />

   <link rel="stylesheet" type="text/css" href="default.css" />
   <title>Log from #UCCN. 1/1/2010.</title>
   <!--[if IE]>
   <style type="text/css">
   .l2hLogPage #mainblock { zoom: 1; padding-top: 15px; }
   /* the above proprietary zoom property gives IE the hasLayout it may need to avoid several bugs */
   </style>
   <![endif]-->
</head>

<body class="l2hLogPage">
   <div id="container">
      <div id="header">
         <a name="top" id="top"></a>
      </div>

      <div id="mainblock">
         <div id="navtop"><a href="index2010.html">Main page</a></div>
         <div>&nbsp;<span class="time">[04:20] Disciple (JavaUser@uc</span>&nbsp;<span class="else_li">&nbsp;n-E44AE224.columbus.res.rr.com) left irc: Quit: Check out #Disciple's website @ <a href="http://www.disciplechat.net">www.disciplechat.net</a></span></div>
         <div>&nbsp;<span class="time">[04:49] mowse (~amowse@opers.</span>&nbsp;<span class="else_li">&nbsp;owse.net) left irc: Quit: </span></div>
         <div>&nbsp;<span class="time">[05:51] mowse (~amowse@staff.</span>&nbsp;<span class="else_j">&nbsp;nitedchristianchat.net) joined #uccn.</span></div>

         <div>&nbsp;<span class="time">[05:51] #uccn: mode change '+</span>&nbsp;<span class="else">&nbsp;o mowse mowse' by United!Services@UnitedChristianChat.net</span></div>
         <div>&nbsp;<span class="time">[06:31] Jes (Jes@uccn-6B792E0</span>&nbsp;<span class="else_li">&nbsp;.hsd1.mi.comcast.net) left irc: Quit: </span></div>
         <div>&nbsp;<span class="time">[06:49] frogman302 (~UCCN@ucc</span>&nbsp;<span class="else_j">&nbsp;-43ACD8B0.gar.clearwire-wmx.net) joined #uccn.</span></div>
         <div>&nbsp;<span class="time">[06:49] <frogman302> hi</span>&nbsp;<span class="else_j">&nbsp;-43ACD8B0.gar.clearwire-wmx.net) joined #uccn.</span></div>

         <div>&nbsp;<span class="time">[06:51] <frogman302> anyone o</span>&nbsp;<span class="else">&nbsp;?</span></div>
         <div>&nbsp;<span class="time">[06:52] frogman302 (~UCCN@ucc</span>&nbsp;<span class="else_li">&nbsp;-43ACD8B0.gar.clearwire-wmx.net) left irc: Quit: <a href="http://www.unitedchristianchat.com/">http://www.unitedchristianchat.com/</a> -- For where two or three are gathered together in my name, there am I in the midst of them. (Matt. 18:20)</span></div>
         <div>&nbsp;<span class="time">[08:15] mowse (~amowse@opers.</span>&nbsp;<span class="else_li">&nbsp;owse.net) left irc: Ping timeout</span></div>

         <div>&nbsp;<span class="time">[13:05] Jes (Jes@uccn-6B792E0</span>&nbsp;<span class="else_j">&nbsp;.hsd1.mi.comcast.net) joined #uccn.</span></div>
         <div>&nbsp;<span class="time">[00:00] --- Sat Jan  2 2010</span>&nbsp;<span class="else_j">&nbsp;.hsd1.mi.comcast.net) joined #uccn.</span></div>
      </div>
      <div id="totoplink"><a href="#top">up</a></div>
      <br class="clearfloat" />
      <div id="footer">

<p>Generated by logs2html module for eggdrop v.2.4.3<br />Find latest version at <a href="http://sourceforge.net/projects/logs2html">http://sourceforge.net/projects/logs2html</a> or <a href="http://www.halftone.ru/projects">http://www.halftone.ru</a></p>
      </div>
   </div>
</body>
</html>


Here is the log file from which the above was generated:
Code:
[04:20] Disciple (JavaUser@uccn-E44AE224.columbus.res.rr.com) left irc: Quit: Check out #Disciple's website @ www.disciplechat.net
[04:49] mowse (~amowse@opers.mowse.net) left irc: Quit:
[05:51] mowse (~amowse@staff.unitedchristianchat.net) joined #uccn.
[05:51] #uccn: mode change '+ao mowse mowse' by United!Services@UnitedChristianChat.net
[06:31] Jes (Jes@uccn-6B792E0B.hsd1.mi.comcast.net) left irc: Quit:
[06:49] frogman302 (~UCCN@uccn-43ACD8B0.gar.clearwire-wmx.net) joined #uccn.
[06:49] <frogman302> hi
[06:51] <frogman302> anyone on?
[06:52] frogman302 (~UCCN@uccn-43ACD8B0.gar.clearwire-wmx.net) left irc: Quit: http://www.unitedchristianchat.com/ -- For where two or three are gathered together in my name, there am I in the midst of them. (Matt. 18:20)
[08:15] mowse (~amowse@opers.mowse.net) left irc: Ping timeout
[13:05] Jes (Jes@uccn-6B792E0B.hsd1.mi.comcast.net) joined #uccn.
[00:00] --- Sat Jan  2 2010
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber