2012-08-17 121 views
1

我加入以下到我的每Trigger.io documentationconfig.json为:Trigger.io日志配置错误

"modules": { 
    "logging": { 
     "level": ["DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL"] 
    } 
} 

当我运行forge build我得到以下错误:

[ ERROR] Forge API call to app/fe491ecee6fb11e19ada12313d1adcbe/template went wrong: Value [u'DEBUG', u'INFO', u'WARNING', u'ERROR', u'CRITICAL'] for field 'level' is not of type string 

是文档错误还是我误读了?

回答

1

你必须选择在文档中给出的数组的一个选项,例如:

"modules": { 
    "logging": { 
     "level": "DEBUG" 
    } 
}