networkd(8) BSD System Manager's Manual networkd(8)NAMEnetworkd — network daemon.
SYNOPSISnetworkdDESCRIPTIONnetworkd is a launch-on-demand daemon that performs opreations on behalf
of code in libystem_network, a component of libSystem.
networkd has no user-specifiable command-line argument, and users should
not run networkd manually.
LOGGING
There are several methods with which to examine networkd's internal state
for debugging and diagnostic purposes. The syslog(1) logging levels map
as follows:
Error - Error messages
Warning - Non-fatal concerns
Notice - Internal state messages
Info - Informational messages
By default, only log level Notice through Error is logged.
Syslog may be used to modify the mask which logging levels are logged.
For example, to enable log levels Emergency - Debug :
% sudo syslog -cnetworkd-d
The networkd settings file may also be used to change the log level.
This method will add some additional logging that may be missing using
the syslog technique listed above. This method is also persistent across
runs of networkd For example, to enable log levels Emergency (1) through
Debug (7):
% sudo defaults write /Library/Preferences/com.apple.networkd
networkd_log_level -int 7
The networkd settings file may also be used to change the log level for
code in libsystem_network. For example, to enable log levels Emergency
(1) through Debug (7) for libsystem_network code:
% sudo defaults write /Library/Preferences/com.apple.networkd
libnetcore_log_level -int 7
A SIGINFO signal will dump a snapshot summary of the internal state to
the system log at log level NOTICE :
% sudo killall -INFOnetworkdFILES
/usr/libexec/networkd
The binary.
/System/Library/LaunchDaemons/com.apple.networkd.plist
The launchd.plist(5) controlling the networkd job.
/Library/Preferences/com.apple.networkd.plist
An optional preferences file read by networkd.
BUGSnetworkd bugs are tracked in Apple Radar component "networkd".
HISTORYnetworkd first appeared in Mac OS X 10.7.
SEE ALSOnetworkd_privileged(8), syslogd(8), launchd.plist(5)Darwin April 27, 2024 Darwin