Quote:
Originally Posted by trevius
I would be especially interested in something that wraps log files after they reach maybe 250k or so if that is at all possible. I have no need for a 500MB log file lol. Heck, I wouldn't even mind a script that turns off the log files completely.
|
The easiest way to not output a log file is to redirect to /dev/null. I'm not sure of the best way to do this for the zone files (maybe a symbolic link to /dev/null?), but here is an example for the world server log that is made in your startup script:
Change
Code:
./persist_world 2>&1 > logs/world &
to
Code:
./persist_world 2>&1 > /dev/null &
Quote:
Originally Posted by trevius
What the heck are these core.<number> files that are filling my hard drive? I already have a couple GB worth after less than 1 day of having the server up!
|
Those are basically debug files. They are enabled with the -pg switch in the makefiles for eqlaunch & zone. I made brief mention of it
in the Wiki, but at the time I wrote that part, I didn't know that's what created them. Basically, change the lines in
eqlaunch/makefile and
zone/makefile that begin with COPTS to remove the -pg.