dmmp\_context\_log\_priority\_get(3) Device Mapper Multipath API - libdmmp Manual dmmp\_context\_log\_priority\_get(3)

# [NAME](#NAME)

dmmp\_context\_log\_priority\_get - Get log priority.

# [SYNOPSIS](#SYNOPSIS)

**int dmmp\_context\_log\_priority\_get** **(struct dmmp\_context \*ctx);**

# [ARGUMENTS](#ARGUMENTS)

[ctx](#ctx)

Pointer of 'struct dmmp\_context'. If this pointer is NULL, your program will be terminated by assert.

# [DESCRIPTION](#DESCRIPTION)

Retrieve current log priority. Valid log priority values are:

\* DMMP\_LOG\_PRIORITY\_ERROR -- 3

\* DMMP\_LOG\_PRIORITY\_WARNING -- 4

\* DMMP\_LOG\_PRIORITY\_INFO -- 5

\* DMMP\_LOG\_PRIORITY\_DEBUG -- 7

# [RETURN](#RETURN)

int, log priority.

dmmp\_context\_log\_priority\_get June 2025

---

Document: dmmp_context_log_priority_get(3) from multipath-tools 0.15.1-r0 (Chainguard OS)
Source: https://github.com/opensvc/multipath-tools
