title: Centralize logs from Python and NodeJS thanks to RabbitMQ
body: <p>I have a service using NodeJS, RabbitMQ and Python workers. The NodeJS brokers use MongoDB and the Python workers have only a connection to the rabbitMQ server.</p>
  
  <p>I would like to be able to centralize all the logs from the different languages in a db.</p>
  
  <p>My idea was to push all the logs in a rabbitMQ queue and then push them in the mongoDB used by NodeJS.</p>
  
  <p>I would like to know if this is the best way to have centralized log and how can I redirect the logging python module to a pika consumer?</p>