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 help

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


Joined: 04 Mar 2010
Posts: 7

PostPosted: Thu Mar 04, 2010 11:35 pm    Post subject: logs2html help Reply with quote

I'm having a problem with logs2html.

When I start eggdrop it I get the error

Quote:
Eggdrop v1.6.19+ctcpfix (C) 1997 Robey Pointer (C) 2008 Eggheads
[06:22] --- Loading eggdrop v1.6.19+ctcpfix (Fri Mar 5 2010)
[06:22] LANG: No lang files found for section logs2html.
[06:22] Module loaded: logs2html (with lang support)
[06:22] Error finding logfiles! Please check settings in your config file to be sure statement "logfile" present.
[06:22] Can't find expression "logfile" for channel '#mychannel' with mode '+p'.


I can't work out a way to fix this, I have set eggdrop to log to eggdrop1.6.19/logs/ and that seems to be workingfine. I setup the logs2html.conf file and set
Quote:

addlogs2htmlchan #mychannel "/eggdrop1.6.19/logs" index "Logs of MyChannel" mychan "Log of MyChannel"


My eggdrop.conf file has a
Code:
 source source logs2html.conf
mention in it..

Quote:
Also this is the settings in the eggdrop.conf for logging logfile jpkw #mychannel"logs/mychannel.log"


I'm baffled

Confused

Edit - Now when I rehash the bot, it says
Code:
 [14:58] Rehashing ...
[14:58]   logs2html module: added channel '#mychannel'. Total channels added: 1.


But still that same error message that I posted above..



Well I'l be damned, it started working Very Happy Very Happy Very Happy

I was in DCC and it said

Code:

<myname> [15:00] Writing user file...
<myname> [15:00] Writing channel file...


So I ran the .convertall command and then I got

Code:

[15:01] #myname# begin creation of logfiles.
<myname>  Creating logs for channel '#mychannel' for 2008 year.
<myname>  Creating index page for channel '#mychannel' for 2008 year.
etc, etc until 2010.


Appears not to have created an index2010.html file though Sad and I'm still getting the

Code:


[15:14] Error finding logfiles! Please check settings in your config file to be sure statement "logfile" present.
[15:14] Can't find expression "logfile" for channel '#mychannel' with mode '+p'.


This is the logging option in my eggdrop.conf

Code:

logfile jwk #mychannel "logs/#mychannel.log"
Back to top
View user's profile Send private message
TCL_no_TK
Owner


Joined: 25 Aug 2006
Posts: 509
Location: England, Yorkshire

PostPosted: Fri Mar 05, 2010 11:18 am    Post subject: Reply with quote

The logfile flag "+w" is wallops, its not a channel flag.
The logfile flog "+p" that the error mentioned is, public text

Maybe try switching them? so you would have
Code:
logfile jpk #mychannel "logs/#mychannel.log"


I'd find it a bit strange if logs2html module didn't allow you to add a channel, with needing it to have "public text" logfile flag.

Code:
# Logfile flags:
#   b - information about bot linking and userfile sharing
#   c - commands
#   d - misc debug information
#   h - raw share traffic
#   j - joins, parts, quits, and netsplits on the channel
#   k - kicks, bans, and mode changes on the channel
#   m - private msgs, notices and ctcps to the bot
#   o - misc info, errors, etc (IMPORTANT STUFF)
#   p - public text on the channel
#   r - raw incoming server traffic
#   s - server connects, disconnects, and notices
#   t - raw botnet traffic
#   v - raw outgoing server traffic
#   w - wallops (make sure the bot sets +w in init-server)
#   x - file transfers and file-area commands
#

_________________
TCL the misunderstood
Back to top
View user's profile Send private message Send e-mail
tclnick
Voice


Joined: 04 Mar 2010
Posts: 7

PostPosted: Fri Mar 05, 2010 7:18 pm    Post subject: Reply with quote

Well I set it to

Code:

logfile jpk #mychannel "logs/#mychannel.log"


And still, I'm getting

Code:
[02:18] LANG: No lang files found for section logs2html.
[02:18] Module loaded: logs2html        (with lang support)
[02:18] Error finding logfiles! Please check settings in your config file to be sure statement "logfile" present.
[02:18] Can't find expression "logfile" for channel '#mychannel' with mode '+p'.


Confused
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Fri Mar 05, 2010 7:37 pm    Post subject: Reply with quote

Just checked the source of that module; did you make sure to run the logfile command prior sourcing the logs2html.conf script?
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
tclnick
Voice


Joined: 04 Mar 2010
Posts: 7

PostPosted: Fri Mar 05, 2010 8:11 pm    Post subject: Reply with quote

The logfile command as in the logfile jpk #mychan...?

I believe I did.. Although perhaps not.. Should I move the directories then to fresh ones and see if it works?
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Fri Mar 05, 2010 8:58 pm    Post subject: Reply with quote

That command yes.
If you're not sure, just open your configfile in your favorite editor, and locate that line as well as the "source logs2html.conf", and see which one comes first (closest to the top of the file).
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
tclnick
Voice


Joined: 04 Mar 2010
Posts: 7

PostPosted: Fri Mar 05, 2010 10:01 pm    Post subject: Reply with quote

Ahh. I get ya, I will have a look.

Seems that the source logs2html.conf is before the actual mention of the logfile Very Happy

I will change it around and see how it goes Razz

Edit - The error has gone Surprised

Code:

[05:04] LANG: No lang files found for section logs2html.
[05:04] Module loaded: logs2html        (with lang support)
[05:04]   logs2html module: added channel '#mychanel'. Total channels added: 1.


You, Sir, are a genius.
Back to top
View user's profile Send private message
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