2012-08-17 80 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" 
    } 
}