[Freeciv-Dev] [patch #1961] print turn number and date/time into the log file in debug mode
Update of patch #1961 (project freeciv): Status: Ready For Test = Done Open/Closed:Open = Closed ___ Reply to this item at: http://gna.org/patch/?1961 ___ Nachricht geschickt von/durch Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [patch #1961] print turn number and date/time into the log file in debug mode
Follow-up Comment #2, patch #1961 (project freeciv): Why do you enable it only for server? Most calculation are done in the server and if I read log files from autogames the turn number is important to get the right savefile. It could also done for the client but then one has to decide where to put the function log_prefix(). Should it be activated for all log files or only if DEBUG is on? I guess it could be done in log.c only. I tried this first. But as log.c belongs to utilities game.info.turn is not available. Thus I did need another approach. ___ Reply to this item at: http://gna.org/patch/?1961 ___ Nachricht geschickt von/durch Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [patch #1961] print turn number and date/time into the log file in debug mode
URL: http://gna.org/patch/?1961 Summary: print turn number and date/time into the log file in debug mode Project: Freeciv Submitted by: syntron Submitted on: Sonntag 12.09.2010 um 22:47 Category: general Priority: 3 - Low Status: Ready For Test Privacy: Public Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any Planned Release: 2.3.0 ___ Details: often the turn number and the date is needed for the messages printed into the log files; this patch adds this information to the log files if in debug mode. If wanted it can be activated without check for debug mode. ___ File Attachments: --- Date: Sonntag 12.09.2010 um 22:47 Name: 20100912-11-trunk-print-turn-number-and-date-time-into-the-log-file-in.patch Size: 6kB By: syntron http://gna.org/patch/download.php?file_id=10329 ___ Reply to this item at: http://gna.org/patch/?1961 ___ Nachricht geschickt von/durch Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [patch #1961] print turn number and date/time into the log file in debug mode
Follow-up Comment #1, patch #1961 (project freeciv): Why do you enable it only for server? I guess it could be done in log.c only. ___ Reply to this item at: http://gna.org/patch/?1961 ___ Message posté via/par Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev