iscsi_context_log_priority_set(3)

iscsi_context_log_priority_set3

Set log priority.

Usage

void iscsi_context_log_priority_set (struct iscsi_context *ctx, int priority);

Arguments

ctx

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

priority

int, log priority.

Overview

When library generates log message, only equal or more important(less value) message will be forwarded to log handler function. Valid log priority values are:

* LIBISCSI_LOG_PRIORITY_ERROR -- 3

* LIBISCSI_LOG_PRIORITY_WARNING -- 4

* LIBISCSI_LOG_PRIORITY_INFO -- 6

* LIBISCSI_LOG_PRIORITY_DEBUG -- 7

Return

void

Releases

4 releases since Debian 11 (Bullseye); the text changed 3 times.

  1. 11
  2. 12
  3. 13
  4. Arch

From open-iscsi 2.1.13-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.