Logging

toc
 * Home * Programming * Logging**

the recording of events taking place in the execution of a system or program into a [|logfile] in order to provide an [|audit trail] that can be used to understand the activity of the system and to diagnose problems. Inside a chess engine, logs include the game notation of a game played along with mode and state transitions, that is all moves and commands entered by the user or input from a control system or chess server, as well as moves made by the program after searching and pondering, typically along with FEN and/or ASCII diagram at the start of each search and important events such as new principal variation with time, depth, score, and various search statistics and time management issues during the search.
 * Logging**,

=See also=
 * Debugging
 * Engine Testing
 * InBetween
 * Profiling
 * Search Statistics
 * Toga Log

=Forum Posts=

1995 ...

 * [|Which chess programs can log all analysis to a .txt file, please?] by Bruce Ramsey, CCC, February 23, 1999

2005 ...

 * [|Polyglot & log-file] by Stefan Knappe, Winboard Forum, February 10, 2005 » Polyglot
 * [|logging and C++] by Andreas Guettinger, CCC, January 17, 2006
 * [|Crafty problem with cutechess-cli] by Gian-Carlo Pascutto, CCC, July 07, 2009 » Crafty, Cutechess-cli

2010 ...

 * [|A modest proposal: open log files] by Steven Edwards, CCC, July 02, 2011
 * [|A logging facility] by Marco Costalba, CCC, March 18, 2012 » Stockfish
 * [|Writing to a Text File (Thread Safe)] by Steve Maughan, CCC, August 10, 2013 » Thread
 * [|Symbolic: I/O handling and sample logfile] by Steven Edwards, CCC, August 14, 2013 » Symbolic
 * [|Logging] by Jeffrey Groby, CCC, July 01, 2014

2015 ...

 * [|A colorful tale] by Steven Edwards, CCC, May 19, 2015 » Symbolic

=External Links=
 * [|Audit trail from Wikipedia]
 * [|Computer file from Wikipedia]
 * [|Cross-cutting concern from Wikipedia]
 * [|Logfile from Wikipedia]
 * [|Syslog from Wikipedia]
 * [|Tracing (software) from Wikipedia]

Apache
> [|Apache log4net] > [|Apache log4cxx]
 * [|Apache Logging Services]
 * [|log4j from Wikipedia]
 * [|SLF4J from Wikipedia]

Misc

 * [|Java logging framework from Wikipedia]
 * [|fprintf - C Library Function Example]
 * [|Log4c : Logging for C Library]
 * [|Easylogging++ - Cross-platform logging library for C++ applications]
 * [|Logging In C++] by [|Petru Marginean], [|Dr. Dobb's], September 05, 2007

=References= =What links here?= include component="backlinks" page="Logging" limit="120"
 * Up one Level**