hivemind
hivemind copied to clipboard
structured logging
Currently hive indexer logging is basic console output, though tuned to produce useful output at the INFO level at a reasonable volume. Hive server logging could use some work. And generally there's a mix of prints and logger.getLogger, with hacks for other packages' noisy loggers (sa & jsonrpcserver). Hive's logging would benefit from a refactoring and polishing.
- [x] standard logging solution -- untangle
logger
config, or use other package? - [ ] tune hive.server logging -- each request is logged; need to track errors but control spam
- [ ] json-based logging? (jg)
yo
uses http://www.structlog.org/en/stable/
+100 for json based logging, that's what all new node.js services (conveyor, kingdom, gatekeeper, faucet, faucet-admin, overseer) uses already
scalyr auto-parses json logs as well
Related: https://github.com/steemit/jussi/issues/115 (Convert third party packages logging to json)