如何删除sails js的默认日志消息

请如何删除当写入我的外部日志文件的“sails lift”时显示的这个默认日志消息:

info: Starting app... debug: Deprecation warning: Support for `sails.config.sockets.onConnect` will be removed in an upcoming release. See the v0.11 migration guide for more informat ion and alternate options. info: info: .-..-. info: info: Sails <| .-..-. info: v0.12.4 |\ info: /|.\ info: / || \ info: ,' |' \ info: .-'.-==|/_--' info: `--'-------' info: __---___--___---___--___---___--___ info: ____---___--___---___--___---___--___-__ info: info: Server lifted in `E:\Orange\sailsJS_workspace\server` info: To see your app, visit http://localhost:1337 info: To shut down Sails, press <CTRL> + C at any time. debug: ------------------------------------------------------- debug: :: Wed Nov 02 2016 12:03:45 GMT+0200 (Egypt Standard Time) debug: Environment : development debug: Port : 1337 debug: ------------------------------------------------------- 

只需添加:

  noShip: true 

要文件:config / log.js

对于其他默认日志消息以“level”播放,它在文件开头的注释中被logging。