# MAVLink logging messages

**URL:** <https://discuss.px4.io/t/mavlink-logging-messages/43891>\
**Category:** MAVLink\
**Created:** [February 22, 2025, 1:20pm UTC](https://discuss.px4.io/t/mavlink-logging-messages/43891 "2025-02-22T13:20:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![J1NJO](https://discuss.px4.io/user_avatar/discuss.px4.io/j1njo/32/18576_2.png) [@J1NJO](https://discuss.px4.io/u/J1NJO)\
**Post date:** [February 22, 2025, 1:20pm UTC](https://discuss.px4.io/t/mavlink-logging-messages/43891/1 "2025-02-22T13:20:09Z")

</div>

I am trying to simulate quadcopter using PX4 (ver 1.15.2) Gazebo and QGC (ver 4.4.3) . I have setup the environment inside docker container. I need to log MAVlink messages. I am able to run the simulation but not able to log MAVlink messages. I have enabled logging of MAVLink messages in QGC. In QGC console:

“MAVLinkLogManagerLog: MAVLink log data received when not expected.”  
“MAVLinkLogManagerLog: MAVLink log data received when not expected.”

In the logs saved for the simulation there are no MAVLink messages. I would like some support on this. Thank you for your efforts :).

---

<div class="post-metadata">

**Author:** ![hamishwillee](https://discuss.px4.io/user_avatar/discuss.px4.io/hamishwillee/32/3469_2.png) [@hamishwillee](https://discuss.px4.io/u/hamishwillee)\
**Post date:** [February 26, 2025, 10:20pm UTC](https://discuss.px4.io/t/mavlink-logging-messages/43891/2 "2025-02-26T22:20:39Z")

</div>

> [@J1NJO](#):
>
> MAVLinkLogManagerLog: MAVLink log data received when not expected

Sometimes it helps to try the daily build of QGC.

You can also log all mavlink traffic in Wireshark. This is not convenient for post processing but can be helpful in some cases.

This isn’t actually a MAVLink question. We should move it to QGC.
