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 

Logging what the eggdrop says

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
Awon
Voice


Joined: 02 Dec 2005
Posts: 2

PostPosted: Fri Dec 02, 2005 1:23 pm    Post subject: Logging what the eggdrop says Reply with quote

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

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
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Fri Dec 02, 2005 2:12 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Fri Dec 02, 2005 4:00 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Awon
Voice


Joined: 02 Dec 2005
Posts: 2

PostPosted: Fri Dec 02, 2005 6:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Fri Dec 02, 2005 10:26 pm    Post subject: Reply with quote

Awon wrote:
But he does not...

But he does so... Razz

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
View user's profile Send private message Visit poster's website
dusk
Halfop


Joined: 06 Mar 2005
Posts: 91
Location: Belgium

PostPosted: Fri Dec 02, 2005 11:44 pm    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
Linux
Halfop


Joined: 04 Apr 2004
Posts: 71
Location: Under The Sky

PostPosted: Sat Dec 03, 2005 12:25 am    Post subject: Reply with quote

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
View user's profile Send private message
dusk
Halfop


Joined: 06 Mar 2005
Posts: 91
Location: Belgium

PostPosted: Sat Dec 03, 2005 12:30 am    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
Linux
Halfop


Joined: 04 Apr 2004
Posts: 71
Location: Under The Sky

PostPosted: Sat Dec 03, 2005 1:21 am    Post subject: Reply with quote

Quote:
# c - commands

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
View user's profile Send private message
dusk
Halfop


Joined: 06 Mar 2005
Posts: 91
Location: Belgium

PostPosted: Sat Dec 03, 2005 2:08 am    Post subject: Reply with quote

Sorry to have post a reply.....not all of us know everything.....
Back to top
View user's profile Send private message MSN Messenger
Linux
Halfop


Joined: 04 Apr 2004
Posts: 71
Location: Under The Sky

PostPosted: Sat Dec 03, 2005 2:11 am    Post subject: Reply with quote

dusk wrote:
Sorry to have post a reply.....not all of us know everything.....

aww...
its ok mate, don't be sad Smile 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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help 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