The most general idea:
- Have only higher severity events logged to terminal by default (info, warn, error)
- Have all events with lower severity threshold logged to a file (debug, info, warn, error)
- Have separate options for both logging levels (
--log-level and --file-log-level)
Also we might want to add logging filtering basing on pattern matching against action kind string (or lower severity threshold?).