Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by post-it

9 hours ago

Multiple levels of logging, all of which you want to capture but not all in the same place.

2 comments

post-it

Reply

skydhash  8 hours ago

Wasn't the idiomatic way the `-v` flag (repeated for verbosity). And then stderr for errors (maybe warning too).

  • notpushkin  4 hours ago

    It is, and all logs should ideally go to stderr. But that doesn’t let you pipe them to different places.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities