Skip to content

No logs in Docker output #426

@mbrennan

Description

@mbrennan

Hello,

I was able to get the Recorder to successfully connect to my broker after struggling for quite some time. It turned out the problem was I am using the websockets protocol on my Mosquitto broker which was not compatible with the Recorder. I opened up another listener on a different port in Mosquitto with protocol 'mosquito' and had the Recorder connect to the new listener. This seemed to connect successfully as I can see output in the mosquitto logs for my Recorder user and running ocat --list shows: {"results":["me"]}

However, I still don't see any data in my Recorder when I visit the web interface and look at the table. I tried to see if there are any interesting things in the log in the Recorder but the log is empty. When I run the recorder from the Docker image's command line directly, I can see some output but all seems well. I don't know why I can't see the output in the Docker log (the logs work fine for the 43 other containers I'm running.

How can I get the Recorder to output the logs correctly to stdout? It seems like it has something to do with the --logfacility switch. Why can't I see any data in my Recorder?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions