sphereio / sphere-order-distribution

This component will distribute (sync) orders between master <-> retailer
MIT License
0 stars 0 forks source link

Add project key to log data #2

Open svenmueller opened 10 years ago

svenmueller commented 10 years ago

currently the project key is missing:

{"name":"sphere-order-distribution-0.1.1","hostname":"d47-prod1.sphere-frontend.prod.commercetools.de","pid":22832,"level":30,"info":"Nothing to do.","msg":"Nothing to do.","time":"2014-03-31T11:20:01.850Z","v":0}

better:

{"name":"sphere-order-distribution-0.1.1","hostname":"d47-prod1.sphere-frontend.prod.commercetools.de","project.key":"d47-xyz","pid":22832,"level":30,"info":"Nothing to do.","msg":"Nothing to do.","time":"2014-03-31T11:20:01.850Z","v":0}
svenmueller commented 10 years ago

Please use the same field name as in the sphere-price-sync:

"info":"[d47-wor-4000]"