Residual Posted April 15, 2002 Share Posted April 15, 2002 Is there anyway to make the server log seperate log files for each map change? Link to comment Share on other sites More sharing options...
MatrixCPA Posted April 15, 2002 Share Posted April 15, 2002 I think it would be possible, but not infinitely. In other words, you could probably include changes to the log file name in the map rotation, but then you'd need a map rotation a mile long to be able to avoid using the same file name twice. Why don't we start with a better question: Why would you want to? Perhaps, after answering that, we can come up with a different solution to the root problem. Link to comment Share on other sites More sharing options...
HellfireSK Posted April 15, 2002 Share Posted April 15, 2002 It's an age-old probl... er q3a-old problem anyway. How to avoid tremendously large and seemingly imparseable logs without making your servers 100x more kludgy to deal with. If you're under linux the easiest thing to do is have things force-restart at some arbitrary interval and rotate your logs inside that. If I understand what you're asking it is for the server to append new data to per-map logfiles? If something like that isn't designed into the game it's the realm of a server-side mod of some sort. If I remember the constraints of the qvm+pure system from the last mod I worked on you couldn't do fancy "system" level things without working from a dll (ie not pure+qvms). With a little work and a lot of inconvienance you could make it work yourself though. You can easily setup a while/sleep loop to watch the log file for the "shutdown" message, kill the server, rotate the logs and cfg and then restart it. That would disconnect all your players, piss them off and likely earn you and honorary BoFH title in short order. -h Link to comment Share on other sites More sharing options...
Residual Posted April 16, 2002 Author Share Posted April 16, 2002 I think the just adding log lines to each map variable list line will work. I just wanted something similar to what Half-Life does so I don't have one huge gigantic log file. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.