Heartbeat in logs


#1

Can we see the nameko/amqp heartbeat in logs? can we see which message was missed/undelivered in some nameko logs?


#2

You can enable logging in the AMQP library by specifying a LOGGING configuration in your config.yaml:

LOGGING:
    version: 1
    loggers:
        amqp:
            level: DEBUG
    handlers:
        default:
            level: DEBUG
            class: logging.StreamHandler
    root:
        level: INFO
        propagate: True
        handlers: [default]

It does not output a lot of useful information but the heartbeats are there.