express-winston icon indicating copy to clipboard operation
express-winston copied to clipboard

Verbose and silly log levels

Open zontafil opened this issue 8 years ago • 3 comments

Are "silly" and "verbose" levels supported?

I'm trying this configuration:

        statusLevels: {
          success: "verbose",
          warn: "warn",
          error: "error"
        },
        level: "verbose"

and I get no logs

zontafil avatar Aug 08 '17 13:08 zontafil

Is it possible that you have the same kind of issue as in https://github.com/bithavoc/express-winston/issues/150? Specifically: is it possible that you have your transport(s) (either on your winstonInstance or passed directly) set not to log at the "silly" or "verbose" level?

There's no code in express-winston to change behavior at any given level; we just pass it along to winston.

rosston avatar Aug 09 '17 02:08 rosston

what is the difference between 'silly' and 'verbose'?

ORESoftware avatar Sep 18 '18 19:09 ORESoftware

@ORESoftware silly logging is typically used to log EVERYTHING (Each function call, action, variable, extra information, whatever), whereas verbose logging is closer to debug logging, providing a logged pseudo-trace through functions and logs of certain critical variables.

@m3l7 Were you able to solve your issue with getting logging to work?

crellison avatar Oct 17 '18 02:10 crellison