Timestamps on the output on the world and zone servers
I haven't had the server use the files in the logs/ directory (It says it failed to open them, probably wants me to make them), so I'm not sure if this already exists in the logs, but I've been running things like:
./world >> world.log & ./zone . ip port ip >> zone1.log & ./zone . ip port ip >> zone2.log & and so on. It would be nice if it would timestamp the output so I could align error output in the logs to player documentation of bugs. |
Re: Timestamps on the output on the world and zone servers
Quote:
(./World 2>&1) | awk -v tz=$(`which date` +%z) '{print "["strftime("%m-%d-%Y %H:%M:%S") tz"] "$0}' | tee -a logfile.log be sure that you know what timezone your players are in if you intend to do much detective work. |
All times are GMT -4. The time now is 08:03 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.