View previous topic :: View next topic |
Author |
Message |
Awon Voice
Joined: 02 Dec 2005 Posts: 2
|
Posted: Fri Dec 02, 2005 1:23 pm Post subject: Logging what the eggdrop says |
|
|
[Sorry if the english's bad, i'm French. ]
Hi !
Anyone know how to log what my bot says in the channels ?
For exemple, when we talk throught him with .say or when he answers to a commande, like for a querry of quizz.
Thanks ! |
|
Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Fri Dec 02, 2005 2:12 pm Post subject: |
|
|
Logging the channel will log all public messages (and other things depending on the modes - check the .conf file) including the bot's msgs. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Fri Dec 02, 2005 4:00 pm Post subject: |
|
|
Quote: | ##### LOG FILES ##### |
Read carefully the above section in eggdrop.conf.
Also visit Eggdrop-FR.Org. _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
Back to top |
|
 |
Awon Voice
Joined: 02 Dec 2005 Posts: 2
|
Posted: Fri Dec 02, 2005 6:06 pm Post subject: |
|
|
Yes, I read carefully all the configuration file, and my channel is ;
"jpkm"... And the "p" value means that it will log all the public msg on the canal, am i right ?
But he does not... |
|
Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Fri Dec 02, 2005 10:26 pm Post subject: |
|
|
Awon wrote: | But he does not... |
But he does so...
Quote: | set max-logs 365
set max-logsize 0
set quick-logs 0
set raw-log 0
logfile mco * "logs/enfield.log"
logfile jpk #Ballarat "stats/ballarat.log"
# Use this feature to timestamp entries in the log file.
set log-time 1
# If you want to keep your logfiles forever, turn this setting on. All
set keep-all-logs 1 |
The above settings are used for this particular bot as it uses pisg to generate a web stats page. Every 12 months the logs are cleared. Everything said in the channel is recorded and stored as per the settings in the channel log; other items of interest that directly affect the bot are stored in the bots own log file. _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
Back to top |
|
 |
dusk Halfop

Joined: 06 Mar 2005 Posts: 91 Location: Belgium
|
Posted: Fri Dec 02, 2005 11:44 pm Post subject: |
|
|
Little remark.......
does the bot log the messages it posts itself on the chan?
Could be I've misunderstood the posters drive :
Code: | Hi !
Anyone know how to log what my bot says in the channels ?
|
GRTZ |
|
Back to top |
|
 |
Linux Halfop

Joined: 04 Apr 2004 Posts: 71 Location: Under The Sky
|
Posted: Sat Dec 03, 2005 12:25 am Post subject: |
|
|
dusk wrote: | Little remark.......
does the bot log the messages it posts itself on the chan?
Could be I've misunderstood the posters drive :
Code: | Hi !
Anyone know how to log what my bot says in the channels ?
|
GRTZ |
Code: | logfile p #channel "logs/channel.log" |
anyone who say a single word on #channel it will logged, no matter if they were Ops/Users or your Bot by using .say from partyline.
Here are Logfile Flags clearly stated in eggdrop.conf
Quote: | # 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 |
_________________ I'm an idiot, At least this one [bug] took about 5 minutes to find... |
|
Back to top |
|
 |
dusk Halfop

Joined: 06 Mar 2005 Posts: 91 Location: Belgium
|
Posted: Sat Dec 03, 2005 12:30 am Post subject: |
|
|
I use the p flag for the logs2html module, everything the bot sais isn't logged.....
ADDITION: don't know how it reacts wit the .say command, i'm referring to commands and stuff.....and boohoo nothing
GRTZ |
|
Back to top |
|
 |
Linux Halfop

Joined: 04 Apr 2004 Posts: 71 Location: Under The Sky
|
Posted: Sat Dec 03, 2005 1:21 am Post subject: |
|
|
is above quote visible to you? (atleast read the manual)
Code: | logfile cp #channel "logs/channel.log" |
_________________ I'm an idiot, At least this one [bug] took about 5 minutes to find... |
|
Back to top |
|
 |
dusk Halfop

Joined: 06 Mar 2005 Posts: 91 Location: Belgium
|
Posted: Sat Dec 03, 2005 2:08 am Post subject: |
|
|
Sorry to have post a reply.....not all of us know everything..... |
|
Back to top |
|
 |
Linux Halfop

Joined: 04 Apr 2004 Posts: 71 Location: Under The Sky
|
Posted: Sat Dec 03, 2005 2:11 am Post subject: |
|
|
dusk wrote: | Sorry to have post a reply.....not all of us know everything..... |
aww...
its ok mate, don't be sad we all are learning from each others. *cheers* heh.. _________________ I'm an idiot, At least this one [bug] took about 5 minutes to find... |
|
Back to top |
|
 |
|