Changes

Jump to: navigation, search

Logging

4,941 bytes added, 14:59, 4 June 2018
Created page with "'''Home * Programming * Logging''' border|right|thumb| Logging screen <ref>[[Timo Haupt watches GridGinkgo's c..."
'''[[Main Page|Home]] * [[Programming]] * Logging'''

[[FILE:GridGinkgoScreen2.jpg|border|right|thumb| Logging screen <ref>[[Timo Haupt]] watches [[GridGinkgo|GridGinkgo's]] colored logging screen at the [[WCCC 2016]] versus [[Komodo]] in Round 6</ref> ]]

'''Logging''',<br/>
the recording of events taking place in the execution of a system or [[Program|program]] into a [https://en.wikipedia.org/wiki/Logfile logfile] in order to provide an [https://en.wikipedia.org/wiki/Audit_trail audit trail] that can be used to understand the activity of the system and to diagnose problems <ref>[https://en.wikipedia.org/wiki/Logfile Logfile from Wikipedia]</ref>. Inside a chess engine, logs include the [[Game Notation|game notation]] of a [[Chess Game|game played]] along with mode and state transitions, that is all [[Moves|moves]] and commands entered by the user or input from a control system or [[Chess Server|chess server]], as well as moves made by the program after searching and [[Pondering|pondering]], typically along with [[Forsyth-Edwards Notation|FEN]] and/or [[Graphics Programming#ASCIIDiagrams|ASCII diagram]] at the start of each [[Search|search]] and important events such as new [[Principal variation|principal variation]] with time, [[Depth|depth]], [[Score|score]], and various [[Search Statistics|search statistics]] and [[Time Management|time management]] issues during the search <ref>[http://www.talkchess.com/forum/viewtopic.php?t=48959 Symbolic: I/O handling and sample logfile] by [[Steven Edwards]], [[CCC]], August 14, 2013</ref>.

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

=Forum Posts=
==1995 ...==
* [https://www.stmintz.com/ccc/index.php?id=44353 Which chess programs can log all analysis to a .txt file, please?] by Bruce Ramsey, [[CCC]], February 23, 1999
==2005 ...==
* [http://www.open-aurec.com/wbforum/viewtopic.php?f=2&t=1610 Polyglot & log-file] by [[Stefan Knappe]], [[Computer Chess Forums|Winboard Forum]], February 10, 2005 » [[Polyglot]]
* [https://www.stmintz.com/ccc/index.php?id=480423 logging and C++] by [[Andreas Guettinger]], [[CCC]], January 17, 2006
* [http://www.talkchess.com/forum/viewtopic.php?t=28823 Crafty problem with cutechess-cli] by [[Gian-Carlo Pascutto]], [[CCC]], July 07, 2009 » [[Crafty]], [[Cutechess-cli]]
==2010 ...==
* [http://www.talkchess.com/forum/viewtopic.php?t=39564 A modest proposal: open log files] by [[Steven Edwards]], [[CCC]], July 02, 2011
* [http://www.talkchess.com/forum/viewtopic.php?t=42930 A logging facility] by [[Marco Costalba]], [[CCC]], March 18, 2012 » [[Stockfish]] <ref>[https://github.com/mcostalba/Stockfish/commit/eb28a683bd5a15be4a59c1e14b45b2c80cf7bf2c add (smart) logging facility · eb28a68 · mcostalba/Stockfish · GitHub]</ref>
* [http://www.talkchess.com/forum/viewtopic.php?t=48911 Writing to a Text File (Thread Safe)] by [[Steve Maughan]], [[CCC]], August 10, 2013 » [[Thread]]
* [http://www.talkchess.com/forum/viewtopic.php?t=48959 Symbolic: I/O handling and sample logfile] by [[Steven Edwards]], [[CCC]], August 14, 2013 » [[Symbolic]]
* [http://www.talkchess.com/forum/viewtopic.php?t=52822 Logging] by Jeffrey Groby, [[CCC]], July 01, 2014
==2015 ...==
* [http://www.talkchess.com/forum/viewtopic.php?t=56417 A colorful tale] by [[Steven Edwards]], [[CCC]], May 19, 2015 » [[Symbolic]]

=External Links=
* [https://en.wikipedia.org/wiki/Audit_trail Audit trail from Wikipedia]
* [https://en.wikipedia.org/wiki/Computer_file Computer file from Wikipedia]
* [https://en.wikipedia.org/wiki/Cross-cutting_concern Cross-cutting concern from Wikipedia]
* [https://en.wikipedia.org/wiki/Logfile Logfile from Wikipedia]
* [https://en.wikipedia.org/wiki/Syslog Syslog from Wikipedia]
* [https://en.wikipedia.org/wiki/Tracing_%28software%29 Tracing (software) from Wikipedia]

==Apache ==
<ref>[https://en.wikipedia.org/wiki/Apache_Software_Foundation Apache Software Foundation from Wikipedia]</ref>
* [http://logging.apache.org/ Apache Logging Services]
: [http://logging.apache.org/log4net/ Apache log4net]
: [http://logging.apache.org/log4cxx/ Apache log4cxx]
* [https://en.wikipedia.org/wiki/Log4j log4j from Wikipedia]
* [https://en.wikipedia.org/wiki/SLF4J SLF4J from Wikipedia]

==Misc==
* [https://en.wikipedia.org/wiki/Java_logging_framework Java logging framework from Wikipedia]
* [http://www.tutorialspoint.com/c_standard_library/c_function_fprintf.htm fprintf() - C Library Function Example]
* [http://log4c.sourceforge.net/ Log4c : Logging for C Library]
* [http://easylogging.org/ Easylogging++ - Cross-platform logging library for C++ applications]
* [http://www.drdobbs.com/parallel/logging-in-c/201804215 Logging In C++] by [http://www.linkedin.com/in/petrum Petru Marginean], [https://en.wikipedia.org/wiki/Dr._Dobb%27s_Journal Dr. Dobb's], September 05, 2007

=References=
<references />

'''[[Programming|Up one Level]]'''

Navigation menu