esl / MongoosePush

MongoosePush is a simple Elixir RESTful service allowing to send push notification via FCM and/or APNS.
Apache License 2.0
108 stars 24 forks source link

MongoosePush JSON log formatter #174

Closed zofpolkowska closed 4 years ago

zofpolkowska commented 4 years ago

This PR introduces configurable JSON log formatter. By default for dev and test environments the format is FMT, for production - JSON. It can be configured by sevia toml general.logging.format key (in TOML schema) or PUSH_LOGFORMAT env variable to logfmt/json.