bithavoc / express-winston

express.js middleware for winstonjs
https://www.npmjs.com/package/express-winston
MIT License
797 stars 187 forks source link

Verbose and silly log levels #155

Open zontafil opened 7 years ago

zontafil commented 7 years ago

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

rosston commented 7 years ago

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.

ORESoftware commented 5 years ago

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

crellison commented 5 years ago

@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?