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.

Login Prob with permanent log.yesterday

Old posts that have not been replied to for several years.
Locked
c
clyde
Voice
Posts: 3
Joined: Tue Aug 16, 2005 11:52 am

Login Prob with permanent log.yesterday

Post by clyde »

Hello everyone,

hmm my eggdrop works, but since I put in the conf file
a secound channnel, the log features won´t work correctly.

The Problem is, I use PISG to have an analysis for my hp.
So now the bot everday sets the current logfile to *.log.yesterday
and open a new channel.log file.

It works as long as my bot joins only one channel but now it won´t
work, i searched throught the whole net but dont find anything like
this.

Heres a small copy from my conf file: (include the Log Feature settings)

Code: Select all

# Creating Channel1
channel add #channel1 {
  chanmode "+nrt-likm"
  idle-kick 0
  stopnethack-mode 0
}

# Creating Channel2
channel add #channel2 {
  chanmode "+nrt-likm"
  idle-kick 0
  stopnethack-mode 0
}

# LogFile for Channel
logfile jpks #channel1 "/opt/dawny/tmp/chan1.log"
logfile jpks #channel2 "/opt/dawny/tmp/chan2.log"

# Log Features
set log-time 1
set keep-all-logs 0
set switch-log-files-at 2500
set logfile-suffix ".%d%b%Y"
set quite-save 0
set quick-logs 0
set max-logsize 0
Must i specifie the Log Features for every channel? Or whats wrong???


please guys help me
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Code: Select all

##### LOG FILES #####

set max-logs 365

set max-logsize 0

set quick-logs 0

set raw-log 0

logfile mco * "logs/bot.log"

logfile jpk #channel "stats/channel.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

set logfile-suffix ".%d%b%Y"
The above are the settings I use for use with psig. Notice I use a separate folder to store the files, keeping them separate from the bots own log.

Logs are saved as channel.log.17Aug2005 etc etc (as an example).
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
c
clyde
Voice
Posts: 3
Joined: Tue Aug 16, 2005 11:52 am

Post by clyde »

Hmm will try it out thanks anyway for help!

But now i have a bigger prob.

My Bot dont want load the language file :(
I did anything, addlang to config, +lang to partyline,
the 3 files are in the correct dir and the start user is
the owner of the files. But my Bot dont want to
load the files!

Example
/dcc chat Bot
Bot MSGC1C
/msg =bot mysecretpassword
Bot MSGC009
Bot U entered the party line


???

Dont know... tilt i recompiled the complete bot but the same error when i start the bot, no language files! What can i do?
c
clyde
Voice
Posts: 3
Joined: Tue Aug 16, 2005 11:52 am

Post by clyde »

that is all what i get if i try to load the bot:


LANG: No lang files found for section core.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

For english, no language file setting is required as it's the default.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Locked