

Using -flag without specifying anyĮxample: -flag1 -flag2 will set both configuration parameters to true, while -flag1 -flag2 bar will set flag1 to true, and flag2 to bar. A -Īrgument tells the cli parser to stop reading flags. Putting -foo bar on the command line sets the foo configuration parameter to "bar". Npm gets its configuration values from the following sources, sorted by priority:


When your app's log level is set to "info", Sails logs limited information about the server/app's status. The hierarchy of log levels and their relative priorities is summarized by the chart below: Priority This log level is normalized and also applied to generated output from Grunt, Socket.io, Waterline, Express, and other dependencies. Using the built-in logger, Sails will write output (to stdout/stderr) for log function calls that are _at_ or above the priority of the currently-configured log level. Sails' log configuration is determined by, which is conventionally set by a generated configuration file ( config/log.js) in new Sails projects out of the box.
