Change the syslog format to use app_name instead of app_id (#1166)

* Add AppName to the models.Call, so we can include it in the syslog

* Replace the app_id with app_name
This commit is contained in:
Peter Jausovec
2018-08-09 12:06:19 -07:00
committed by GitHub
parent 4d0f6a9244
commit 35408ac949
6 changed files with 19 additions and 9 deletions

View File

@@ -150,6 +150,9 @@ type Call struct {
// App this call belongs to.
AppID string `json:"app_id" db:"app_id"`
// Name of the app.
AppName string `json:"app_name" db:"app_name"`
// Trigger this call belongs to.
TriggerID string `json:"trigger_id" db:"trigger_id"`