You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Every time I think I want a verbose flag, it means I've been looking at a problem for too long. I think what I'd really like to do is dup STDERR, and send major errors to it, and minor updates on stderr. That way you can 2>/dev/null and still see major errors, or 3>/dev/null 2>&3 for silence. Need to double check man page since forking gives you open file descriptors -- can't remember if I can be sure that 3 is open.
I'm thinking there's some problem with this because otherwise this seems like a really cool way to do with log levels
The text was updated successfully, but these errors were encountered:
Every time I think I want a verbose flag, it means I've been looking at a problem for too long. I think what I'd really like to do is dup STDERR, and send major errors to it, and minor updates on stderr. That way you can 2>/dev/null and still see major errors, or 3>/dev/null 2>&3 for silence. Need to double check man page since forking gives you open file descriptors -- can't remember if I can be sure that 3 is open.
I'm thinking there's some problem with this because otherwise this seems like a really cool way to do with log levels
The text was updated successfully, but these errors were encountered: