Allow passing Bunyan instances to every object using it. #66

Closed
kusor opened this Issue Apr 17, 2012 · 1 comment

Comments

Projects
None yet
1 participant
Owner

kusor commented Apr 17, 2012

Instead of creating a new Bunyan instance per backend module, wf-api and wf-runner, allow passing then an instance.

When the instance is given, just use it with a bunyan.child with proper component name. When there is no instance, and logger configuration is given, create a new logger instance.

kusor was assigned Apr 17, 2012

@kusor kusor added a commit to kusor/node-workflow-redis-backend that referenced this issue Apr 17, 2012

@kusor kusor joyent/node-workflow#66: Allow passing Bunyan instances alternatively…
… to Bunyan config.
a28ad6e

@kusor kusor added a commit to kusor/node-workflow-pg-backend that referenced this issue Apr 17, 2012

@kusor kusor joyent/node-workflow#66: Allow passing Bunyan instances alternatively…
… to Bunyan config.
b281008
Owner

kusor commented Apr 17, 2012

Done for all the modules

kusor closed this Apr 17, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment