This article discusses how to enable the debug mode for a Doppler.
Follow the steps mentioned below to enable the debug mode for a Doppler:
/var/vcap/jobs/doppler/bin/doppler_ctl"
chpst -u vcap:vcap /var/vcap/packages/doppler/doppler \ --config /var/vcap/jobs/doppler/config/doppler.json &
to
chpst -u vcap:vcap /var/vcap/packages/doppler/doppler --debug \ --config /var/vcap/jobs/doppler/config/doppler.json &
sudo monit restart doppler
. Run watch monit summary
and wait for the process to restart.{"timestamp":1463691844.591357231,"process_id":1460,"source":"doppler","log_level":"debug","message":"MessageRouter:MessageReceived","data":null,"file":"/var/vcap/data/compile/doppler/loggregator/src/doppler/sinkserver/message_router.go","line":44,"method":"doppler/sinkserver.(*MessageRouter).Start"} where the "log_level" is "debug"
Impact
Enabling debug mode will impact the system performance and can also fill up the ephemeral disk. So, we strongly recommend using this only for the development and troubleshooting purpose.