---
name: "iscsi_context_log_priority_get"
section: "3"
platform: "linux"
package: "open-iscsi"
version: "2.1.13-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/iscsi_context_log_priority_get"
---

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

Get log priority.

## NAME

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

## SYNOPSIS

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

## ARGUMENTS

- ctx

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

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

int, log priority.
