Skip to content

Commit

Permalink
Fix example logging
Browse files Browse the repository at this point in the history
  • Loading branch information
philipcristiano committed Jan 29, 2013
1 parent 17a8128 commit d78923f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions amqpdispatcher/dispatcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def setup():

startup_handler_str = config.get('startup_handler')
if startup_handler_str is not None:
startup_handler = load_module_object(startup_handler_str)
startup_handler()
logger.info('Startup handled')

Expand Down
2 changes: 1 addition & 1 deletion example_config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

#startup_handler: examples.example_startup:startup
startup_handler: examples.example_startup:startup

consumers:
- consumer: examples.example_consumer:Consumer
Expand Down

0 comments on commit d78923f

Please sign in to comment.