On this page
  1. syslog.closelog
  2. Import
  3. Signature & Overview
  4. Usage
  5. Gotchas
  6. REPL Inspect

syslog.closelog

Up: syslog | Next: syslog.openlog
Rel: syslog.openlog, syslog.setlogmask, syslog.syslog
Ref: docs.python.org — syslog.closelog
Tags: #public #python3 #stdlib #syslog


Import

import syslog
from syslog import closelog

Signature & Overview

syslog.closelog()

Reset the syslog module values and call the system library closelog().

Usage

import syslog

# Closes the connection to the local Unix syslog daemon
assert callable(syslog.closelog)

Gotchas

REPL Inspect

from syslog import closelog
help(closelog)

Linked from

Related notes