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.

Yesterday's Logging Issue.

Old posts that have not been replied to for several years.
Locked
h
haydeelicious
Voice
Posts: 3
Joined: Fri Jun 10, 2005 6:46 pm

Yesterday's Logging Issue.

Post by haydeelicious »

Hi!
I want to change my bot yesterday's log file to something different than the extention *.yesterday u know the default is (logfilename.yesterday), i want it to be logfilename.1
Can somebody help me please? Thank you. :(
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

then change it - use mv command under UNIX/Linux, ren under Windows/DOS
h
haydeelicious
Voice
Posts: 3
Joined: Fri Jun 10, 2005 6:46 pm

Post by haydeelicious »

How can I change it? What should I do? Do I have to edit the *.conf file or get into its partyline to change it? what lines do I have to write? Can you be more specific please. Thankies.
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

look pal, I already told you that you need to use your operating system's command for renaming files - if you don't know what I'm talking about, you shouldn't be running eggdrop anyway

and no, there's no way to configure the 'yesterday' suffix - if you want those logs written with another suffix, patch the bot (modify src/main.c)
h
haydeelicious
Voice
Posts: 3
Joined: Fri Jun 10, 2005 6:46 pm

Post by haydeelicious »

Of course I know how to rename a file. I wanted those logs to be written with another suffix, since u said there s no way to configure it, I just modified the src/main.c like you told me, thanks for ur help.
Locked