Author: Uri Blass
Date: 02:03:07 07/16/04
Go up one level in this thread
On July 15, 2004 at 23:27:20, Robert Hyatt wrote: >On July 15, 2004 at 18:47:06, Uri Blass wrote: > >>I find it not easy to find a problem based on a single logfile and I think to >>add logfiles for specific information. >> >>Today I have a function PrintLog that print information only to the logfile >>and Print that prints information both to the logfile and to the screen but it >>may be better to have also functions like >>PrintLogTime that print only information about decisions of the target time to >>play a move and changes in that time to time.log or PrintLogPV that only prints >>information about new pv that the program found. >> >>It is not instead of one file that everything is saved because the order of >>events may be also important and if the program do not write all the information >>also to a single file then there may be a problem to know the order of events >>and I do not like to lose information because maybe the order of events may be >>also important. >> >>What is your opinion? >>Does your program have a single file that it save the logfile or many files. >> >>Uri > >Crafty has a single log that gets everything. The user can also elect to get >everything on the screen, or he can exclude certain types of output (which still >goes to the log file however). It seems better idea and with one logfile that include everything it is possible to add display functions that display only relevant parts in the screen or function that generate later partial logfiles based on the global logfile. I do not know if displaying in the screen is the right idea and it is possible to add function that translate a big logfile to smaller logfiles with part of the information because even the smaller information may be too much to see in the screen. Uri
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.