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.

How to stop dual logging?

General support and discussion of Eggdrop bots.
Post Reply
M
Moneo
Voice
Posts: 12
Joined: Tue Dec 05, 2006 7:22 pm

How to stop dual logging?

Post by Moneo »

Hi,

lets say my bot is in 3 channels atm and in the config i set up 3 different dirs ( /logs/abc, /logs/def, /logs/ghi ) to log the channels in. All logs are kept and and prcessed by pisg.

like this

Code: Select all

logfile jpkc #abc /home/bin/eggdrop/logs/abc/alb.log
All this works fine.

But eggdrop keeps the excact logs I told in the config to write in special directories in the main standart log dir /logs too.

can i turn it off, since it eats up my shell quota faster then necessary?

[/code]
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

# This creates a logfile named eggdrop.log containing private msgs/ctcps,
# commands, errors, and misc. info from any channel.
logfile mco * "logs/eggdrop.log"

# This creates a logfile named lamest.log containing joins, parts,
# netsplits, kicks, bans, mode changes, and public chat on the
# channel #lamest.

logfile jpk #lamest "logs/lamest.log"
Separation is designed to keep things uncluttered.

Note that a full path is not required as '~./logs' is assumed.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
M
Moneo
Voice
Posts: 12
Joined: Tue Dec 05, 2006 7:22 pm

Post by Moneo »

k thanx for the hint, but how does this solve my problem of the eggdrop keeping dual logfiles? :(

could you read my question again and tell me what part you don´t get so I could describe it in more detail?

But eggdrop keeps the excact logs I told in the config to write in special directories in the main standart log dir /logs too.
can i turn it off, since it eats up my shell quota faster then necessary?
short explanation again:

atm i have for example the abc.log in two places ( dual )

1. /abc/abc.log

and

2. /logs/abc.log


how do i turn the log in /logs/abc.log off ?!



Here a snippet of my eggdrop config:

Code: Select all

logfile mco * "logs/eggdrop.log"

logfile jpkc #lyoava-8vs8 "/home/moneo/bin/eggdrop1.6.18/logs/8vs8/#lyoava-8vs8.log"
logfile jpkc #valheru.daoc "/home/moneo/bin/eggdrop1.6.18/logs/valheru/#valheru.daoc.log"
I do this extra directory logging for processing the whole directory with pisg...
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

logfile should not add duplicate logfile-entries such as what you're experiencing. I assume you've double-checked your config-file(s) to make sure you don't create those additional logs accidentally, and you've properly restarted (.restart or .die, not .rehash) your bot after altering any log-settings?
NML_375
M
Moneo
Voice
Posts: 12
Joined: Tue Dec 05, 2006 7:22 pm

Post by Moneo »

yes i did .die the bot and as far as i can tell these settings in the above post are all my log settings in the config file..


anybody any other ideas? :(
Post Reply