iscsi\_context\_log\_priority\_get(3) API Manual iscsi\_context\_log\_priority\_get(3)

# [NAME](#NAME)

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

# [SYNOPSIS](#SYNOPSIS)

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

# [ARGUMENTS](#ARGUMENTS)

[ctx](#ctx)

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

# [DESCRIPTION](#DESCRIPTION)

Retrieve current log priority. Valid log priority values are:

\* LIBISCSI\_LOG\_PRIORITY\_ERROR -- 3

\* LIBISCSI\_LOG\_PRIORITY\_WARNING -- 4

\* LIBISCSI\_LOG\_PRIORITY\_INFO -- 5

\* LIBISCSI\_LOG\_PRIORITY\_DEBUG -- 7

# [RETURN](#RETURN)

int, log priority.

iscsi\_context\_log\_priority\_get October 2026

---

Document: iscsi_context_log_priority_get(3) from open-iscsi 2.1.13-r2 (Chainguard OS)
Source: https://github.com/open-iscsi/open-iscsi
