-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tune.py: Include best values to debug log file #16
Comments
I have a commit to fix this issue at |
It's a question of what exactly the difference should be between the debugfile and simply the standard output. If one wants to save stdout to a file as well as the terminal, that's pretty easy to do. |
It is more of a convenience and peace of mind that logs are saved to a file by just specifying, Cutechess-cli has debug and stderr. |
So I think -debug has quite a performance impact, since it puts the engines into debug mode and saves all the communication. I wouldn't want to encourage enabling it by default for peace of mind. Which things does cutechess send to stdout, stderr and debug respectively? |
Most uci engines does not implement the debug option as recommended by uci protocol. Engine authors instead implement its own logging. Example Stockfish, Komodo, Andscacs, Fire and others even my engine Deuterium, I also don't support the debug option. If there is such a uci engine that implements debug option, the engine will only enable its debugging when it receives a command, Python-chess implements logging by only printing what the engine has normally sent.
The user can always disable logging when things are already running fine. I am currently implementing Fischer Time Control.
In the log above I use a tc of So far so good, no time forfeit after 50 games are completed at -tc 30000 100 |
Suggestion
When -debug is set, also save the best values to debug log file.
This goes to console.
This goes to debug log file.
logging.info (...
The text was updated successfully, but these errors were encountered: