intel icon indicating copy to clipboard operation
intel copied to clipboard

choice of severity levels?

Open jaredhirsch opened this issue 10 years ago • 3 comments

syslog gives us emerg, alert, crit, err, warn, notice, info, debug. These log levels have well-defined and widely understood (by ops type people) meanings. If intel is going to provide a standard set of hierarchical loggers, why not those?

jaredhirsch avatar Feb 19 '15 16:02 jaredhirsch

They're less understandable to me. I don't know what to do with so many high-severity levels. And I found it's useful to have noiser levels than debug.

@6a68 are you using mozlog?

seanmonstar avatar Feb 19 '15 17:02 seanmonstar

yup, chronicle is using it. one of the things I'd like to do is map bad stuff to pagerduty, which I can do with the current set of log levels, but I dislike having to tell ops people "I'm going to log using a random subset of the syslog levels, but they mean totally different things, since the highest severity ones are missing"

jaredhirsch avatar Feb 19 '15 18:02 jaredhirsch

Fair enough. I'd welcome a intel.setLevels() method...

On Thu, Feb 19, 2015, 10:55 AM Jared Hirsch [email protected] wrote:

yup, chronicle is using it. one of the things I'd like to do is map bad stuff to pagerduty, which I can do with the current set of log levels, but I dislike having to tell ops people "I'm going to log using a random subset of the syslog levels, but they mean totally different things, since the highest severity ones are missing"

— Reply to this email directly or view it on GitHub https://github.com/seanmonstar/intel/issues/33#issuecomment-75112715.

seanmonstar avatar Feb 20 '15 19:02 seanmonstar