<feed xmlns='http://www.w3.org/2005/Atom'>
<title>hnimdbbot/src/loglevel.go, branch main</title>
<subtitle>Pure Cinema!</subtitle>
<link rel='alternate' type='text/html' href='https://git.iamfabulous.de/hnimdbbot/'/>
<entry>
<title>feat: add three-level logging with per-request debug output</title>
<updated>2026-06-26T12:14:52+00:00</updated>
<author>
<name>dev</name>
</author>
<published>2026-06-26T12:14:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.iamfabulous.de/hnimdbbot/commit/?id=06536f57b1fdc76212da6b85fbc9287cc4f0de70'/>
<id>06536f57b1fdc76212da6b85fbc9287cc4f0de70</id>
<content type='text'>
- New --log-level flag: debug (default info), info, silent
  debug: every API request logged (method, URL, status, duration)
  info:  normal events (batch progress, entry counts, summaries)
  silent: only warnings and fatal errors
- Replaced all log.Printf/Fatalf calls with level-gated helpers
- API request timing added to queryWikiArticle, queryWikidataBatch, downloadFile
- Retries and backoff logged in debug mode
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- New --log-level flag: debug (default info), info, silent
  debug: every API request logged (method, URL, status, duration)
  info:  normal events (batch progress, entry counts, summaries)
  silent: only warnings and fatal errors
- Replaced all log.Printf/Fatalf calls with level-gated helpers
- API request timing added to queryWikiArticle, queryWikidataBatch, downloadFile
- Retries and backoff logged in debug mode
</pre>
</div>
</content>
</entry>
</feed>
