| View previous topic :: View next topic |
| Author |
Message |
tclnick Voice
Joined: 04 Mar 2010 Posts: 7
|
Posted: Thu Mar 04, 2010 11:35 pm Post subject: logs2html help |
|
|
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
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
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 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 |
|
 |
TCL_no_TK Owner

Joined: 25 Aug 2006 Posts: 509 Location: England, Yorkshire
|
Posted: Fri Mar 05, 2010 11:18 am Post subject: |
|
|
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 |
|
 |
tclnick Voice
Joined: 04 Mar 2010 Posts: 7
|
Posted: Fri Mar 05, 2010 7:18 pm Post subject: |
|
|
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'. |
 |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Fri Mar 05, 2010 7:37 pm Post subject: |
|
|
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 |
|
 |
tclnick Voice
Joined: 04 Mar 2010 Posts: 7
|
Posted: Fri Mar 05, 2010 8:11 pm Post subject: |
|
|
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 |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Fri Mar 05, 2010 8:58 pm Post subject: |
|
|
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 |
|
 |
tclnick Voice
Joined: 04 Mar 2010 Posts: 7
|
Posted: Fri Mar 05, 2010 10:01 pm Post subject: |
|
|
Ahh. I get ya, I will have a look.
Seems that the source logs2html.conf is before the actual mention of the logfile
I will change it around and see how it goes
Edit - The error has gone
| 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 |
|
 |
|