On this page
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
- Unix-only; optional because syslog reopens automatically on the next
syslog.syslog()call.
REPL Inspect
from syslog import closelog
help(closelog)
Linked from
Related notes
- tuts/python3/stdlib_module/syslog/openlog Linked here; links to this page; shared tags: #stdlib, #syslog
- tuts/python3/stdlib_module/syslog/setlogmask Linked here; links to this page; shared tags: #stdlib, #syslog
- tuts/python3/stdlib_module/syslog/syslog Linked here; links to this page; shared tags: #stdlib, #syslog
- tuts/python3/stdlib_module/syslog links to this page; shared tags: #stdlib
- tuts/c/stdlib shared tags: #stdlib
- tuts/c/stdlib/assert shared tags: #stdlib
- tuts/c/stdlib/assert/assert shared tags: #stdlib
- tuts/c/stdlib/assert/static_assert shared tags: #stdlib
- tuts/c/stdlib/ctype shared tags: #stdlib
- tuts/c/stdlib/ctype/isalpha shared tags: #stdlib