This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Logging what the eggdrop says

General support and discussion of Eggdrop bots.
Post Reply
A
Awon
Voice
Posts: 2
Joined: Fri Dec 02, 2005 12:20 pm

Logging what the eggdrop says

Post by Awon »

[Sorry if the english's bad, i'm French. :oops:]

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 !
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

Logging the channel will log all public messages (and other things depending on the modes - check the .conf file) including the bot's msgs.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

##### 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
A
Awon
Voice
Posts: 2
Joined: Fri Dec 02, 2005 12:20 pm

Post by Awon »

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...
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Awon wrote:But he does not...
But he does so... :P
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
User avatar
dusk
Halfop
Posts: 91
Joined: Sun Mar 06, 2005 7:25 pm
Location: Belgium

Post by dusk »

Little remark.......

does the bot log the messages it posts itself on the chan?
Could be I've misunderstood the posters drive :

Code: Select all

Hi ! 

Anyone know how to log what my bot says in the channels ? 

GRTZ
User avatar
Linux
Halfop
Posts: 71
Joined: Sun Apr 04, 2004 4:20 pm
Location: Under The Sky

Post by Linux »

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: Select all

Hi ! 

Anyone know how to log what my bot says in the channels ? 

GRTZ

Code: Select all

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
# 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...
User avatar
dusk
Halfop
Posts: 91
Joined: Sun Mar 06, 2005 7:25 pm
Location: Belgium

Post by dusk »

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
User avatar
Linux
Halfop
Posts: 71
Joined: Sun Apr 04, 2004 4:20 pm
Location: Under The Sky

Post by Linux »

# c - commands

is above quote visible to you? (atleast read the manual)

Code: Select all

logfile cp #channel "logs/channel.log"
I'm an idiot, At least this one [bug] took about 5 minutes to find...
User avatar
dusk
Halfop
Posts: 91
Joined: Sun Mar 06, 2005 7:25 pm
Location: Belgium

Post by dusk »

Sorry to have post a reply.....not all of us know everything.....
User avatar
Linux
Halfop
Posts: 71
Joined: Sun Apr 04, 2004 4:20 pm
Location: Under The Sky

Post by Linux »

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...
Post Reply