Difference between revisions of "Logging"

From Chessprogramming wiki
Jump to: navigation, search
(Created page with "'''Home * Programming * Logging''' border|right|thumb| Logging screen <ref>[[Timo Haupt watches GridGinkgo's c...")
 
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:
  
 
'''Logging''',<br/>
 
'''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>.
+
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=
 
=See also=
Line 18: Line 18:
 
* [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
 
* [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 ...==
 
==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]]
+
* [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
 
* [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]]
 
* [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]]
Line 29: Line 29:
 
==2015 ...==
 
==2015 ...==
 
* [http://www.talkchess.com/forum/viewtopic.php?t=56417 A colorful tale] by [[Steven Edwards]], [[CCC]], May 19, 2015 » [[Symbolic]]
 
* [http://www.talkchess.com/forum/viewtopic.php?t=56417 A colorful tale] by [[Steven Edwards]], [[CCC]], May 19, 2015 » [[Symbolic]]
 +
* [http://www.talkchess.com/forum3/viewtopic.php?f=7&t=70226 create log on android] by [[Pedro Castro]], [[CCC]], March 17, 2019 » [[Android]]
  
 
=External Links=
 
=External Links=

Latest revision as of 15:43, 18 May 2019

Home * Programming * Logging

Logging screen [1]

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 [2]. 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 [3].

See also

Forum Posts

1995 ...

2005 ...

2010 ...

2015 ...

External Links

Apache

[5]

Apache log4net
Apache log4cxx

Misc

References

Up one Level