Files
PX4-Autopilot/docs/en/msg_docs/LoggerStatus.md
PX4BuildBot be784e21f7 docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
2026-05-27 02:57:43 +00:00

68 lines
3.4 KiB
Markdown

---
pageClass: is-wide-page
---
# LoggerStatus (UORB message)
**TOPICS:** logger_status
## Fields
| Name | Type | Unit [Frame] | Range/Enum | Description |
| --------------------------------------------------- | --------- | ------------ | ---------- | ----------------------------------------------------- |
| <a id="fld_timestamp"></a>timestamp | `uint64` | | | time since system start (microseconds) |
| <a id="fld_type"></a>type | `uint8` | | |
| <a id="fld_backend"></a>backend | `uint8` | | |
| <a id="fld_is_logging"></a>is_logging | `bool` | | |
| <a id="fld_total_written_kb"></a>total_written_kb | `float32` | | | total written to log in kiloBytes |
| <a id="fld_write_rate_kb_s"></a>write_rate_kb_s | `float32` | | | write rate in kiloBytes/s |
| <a id="fld_dropouts"></a>dropouts | `uint32` | | | number of failed buffer writes due to buffer overflow |
| <a id="fld_message_gaps"></a>message_gaps | `uint32` | | | messages misssed |
| <a id="fld_buffer_used_bytes"></a>buffer_used_bytes | `uint32` | | | current buffer fill in Bytes |
| <a id="fld_buffer_size_bytes"></a>buffer_size_bytes | `uint32` | | | total buffer size in Bytes |
| <a id="fld_num_messages"></a>num_messages | `uint8` | | |
## Constants
| Name | Type | Value | Description |
| ----------------------------------------------------- | ------- | ----- | ----------------------------------------- |
| <a id="#LOGGER_TYPE_FULL"></a> LOGGER_TYPE_FULL | `uint8` | 0 | Normal, full size log |
| <a id="#LOGGER_TYPE_MISSION"></a> LOGGER_TYPE_MISSION | `uint8` | 1 | reduced mission log (e.g. for geotagging) |
| <a id="#BACKEND_FILE"></a> BACKEND_FILE | `uint8` | 1 |
| <a id="#BACKEND_MAVLINK"></a> BACKEND_MAVLINK | `uint8` | 2 |
| <a id="#BACKEND_ALL"></a> BACKEND_ALL | `uint8` | 3 |
## Source Message
[Source file (GitHub)](https://github.com/PX4/PX4-Autopilot/blob/main/msg/LoggerStatus.msg)
::: details Click here to see original file
```c
uint64 timestamp # time since system start (microseconds)
uint8 LOGGER_TYPE_FULL = 0 # Normal, full size log
uint8 LOGGER_TYPE_MISSION = 1 # reduced mission log (e.g. for geotagging)
uint8 type
uint8 BACKEND_FILE = 1
uint8 BACKEND_MAVLINK = 2
uint8 BACKEND_ALL = 3
uint8 backend
bool is_logging
float32 total_written_kb # total written to log in kiloBytes
float32 write_rate_kb_s # write rate in kiloBytes/s
uint32 dropouts # number of failed buffer writes due to buffer overflow
uint32 message_gaps # messages misssed
uint32 buffer_used_bytes # current buffer fill in Bytes
uint32 buffer_size_bytes # total buffer size in Bytes
uint8 num_messages
```
:::