The system UCI subsystem configuration file is located in
system section contains settings that apply to the most basic operation of the system, such as the hostname, the time zone, and how and where to write logging information to. The default settings are:
# uci -N show system.@system system.@system=system system.@system.hostname='OpenWrt' system.@system.timezone='UTC' system.@system.ttylogin='0' system.@system.log_size='64' system.@system.urandom_seed='0'
These options can be set in the system section:
| ||string||no|| || The hostname for this system. Avoid points, even if they are within quotes. For example '
| ||integer||no||kernel specific||Size of the kernel message buffer.|
| ||integer||no|| || Number between 1-8. The maximum log level for kernel messages to be logged to the console. Only messages with a level lower than this will be printed to the console. Higher level messages have lower log level number. Highest level messages are ones with log level 0. If you want more verbose messages in console put conloglevel to 8 if you want less messages lower conloglevel to 4 or even less.
Note that in releases 17.x and later this and similar parameters may have no effect.
| ||integer||no|| || The minimum level for cron messages to be logged to syslog.
| ||integer||no|| || The maximum log level for kernel messages to be logged to the console. Only messages with a level lower than this will be printed to the console. Identical to
| ||integer||no||16|| Size of the log buffer of the “new” procd based system log, that is output by the
| ||string||no||no log file|| File to write log messages to (type
| ||string||no||(none)||Hostname to send to remote syslog. If none is provided, the actual hostname is send. This feature is only present in 17.xx and later versions|
| ||IP address||no||(none)||IP address of a syslog server to which the log messages should be sent in addition to the local destination.|
| ||integer||no|| || Port number of the remote syslog server specified with
| ||string||no||(none)||Adds a prefix to all log messages send over network.|
| ||string||no|| || Sets the protocol to use for the connection, either
| ||bool||no|| ||Enables remote logging.|
| ||integer||no|| ||Size of the file or circular memory buffer in KiB.|
| ||bool||no|| || Use
| ||string||no|| || Either
| ||bool||no|| || Require authentication for local users to log in the system. Disabled by default. It applies to the access methods listed in
| ||string||no|| ||Path of the seed. Enables saving a new seed on each boot.|
| ||string||no|| || The time zone that date and time should be rendered in by default.
See timezone database, e.g.
| ||string||no|| || Only useful when using glibc and zoneinfo! : Is this really true? IIRC musl supports zoneinfo as well (but the zoneinfo packages are still needed) at least for 17.xx and later series (