Display app index in syslog messages

[Fixes #64065480]

Signed-off-by: Johannes Petzold <jpetzold@pivotallabs.com>