---
name: "dmmp_context_log_priority_get"
section: "3"
platform: "linux"
package: "multipath-tools"
version: "0.15.1-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/dmmp_context_log_priority_get"
---

# dmmp\_context\_log\_priority\_get(3)

Get log priority.

## NAME

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

## SYNOPSIS

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

## ARGUMENTS

- ctx

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

## 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

int, log priority.
