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.

Log to different directory?

Old posts that have not been replied to for several years.
Locked
B
Bayzone

Log to different directory?

Post by Bayzone »

hello,
my eggdrop is installed in
/home/eggdrop

what path do i put to make the bot log files to
/home/public_html/log

i tried
../home/public_html/log
but the folder wasnt created

thanks very much
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Have you tryed just with "/home/public_html/log" ?
Once the game is over, the king and the pawn go back in the same box.
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

There are no such things as folders. Thats just what windows calls them.

They are directories, and eggdrop doesn't create them. That is your job.
User avatar
Yourname
Master
Posts: 358
Joined: Mon Sep 24, 2001 8:00 pm
Location: Toronto

Post by Yourname »

Yes, make your directory by hand. (I'm sure you know how), and then it will work unless what you've pasted to us is wrong.

Usually, it's /home/<username>/public_html/log but you pasted something different where /home isn't followed by the username.

But oh well, make the dir.. and try it again. :)

PS: caesar, congratulations. ;)
Dormant egghead.
B
Bayzone

Post by Bayzone »

i created the folder
home/bayzone/public_html/logs
and
placed this in my conf file
logfile jpk #channel "home/bayzone/public_html/logs/channel.log"
there was no log file created..
i left the bot running for half a day before checking

then i tried "../home/bayzone/public_html/logs/channel.log"
and later "~/home/bayzone/public_html/logs/channel.log"
doesnt seem to work :(

btw, my first line of the egg.conf
#! /home/bayzone/eggdrop

thanks for helping me :)
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

try "../public_html/logs/channel.log"
if didn't work try "~/public_html/logs/channel.log"
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

I've said / (slash?) home not home/bla bla bla. It should work like: /home/bayzone/public_html/logs only if the dirs exist.
Once the game is over, the king and the pawn go back in the same box.
Locked