I have read the documentation and I thought I knew how to disable logging but it doesn't seem to be working. Following is my application.json file:
[
{
"settings": [ "master" ],
"appPort": 9001,
"middleware": [ "./middleware/cookieParser.js", "./middleware/session.js", "./middleware/bodyParser.js", "./middleware/csrf.js", "./middleware/authentication.js", "./middleware/query.js", "./middleware/inputValidation.js", "./middleware/authorization.js" ],
"database": "/tmp/master.db",
"timeout": 600,
"specs": {
"login": {
"type": "LoginMojit"
},
"app": {
"type": "HTMLFrameMojit",
"config": {
"deploy": true,
"child": {
"type": "AppMojit"
},
"assets": {
"top": {
"css": [
"http://yui.yahooapis.com/3.7.3/build/cssgrids/grids-min.css"
]
}
}
}
},
"widget": {
"type": "WidgetMojit"
},
"backend": {
"type": "BackendMojit"
}
},
"yui": {
"config": {
"debug": false,
"logLevel": "none"
}
}
},
{
"settings": [ "environment:development" ],
"staticHandling": {
"forceUpdate": true
}
}
]
I believed the yui.config section should do the trick but when I run "mojit start" I still get all the WARN, DEBUG and INFO messages. What am I missing?