_______________________________________________________________________________________________________
_____________________________________________________________________________________________________
© Virtual Access 2017
GW7304 Series User Manual
Issue: 1.9
Page 50 of 336
Web: Log output level
UCI: system.main.conloglevel
Opt: conloglevel
Sets the maximum log output level severity for system events.
System events are written to the system log. Messages with a lower
level or level equal to the configured level are displayed in the console
using the logread command, or alternatively written to flash, if
configured to do so.
Web value
Description
UCI
Debug
Information useful to developers for
debugging the application.
8
Info
Normal operational messages that
require no action.
7
Notice
Events that are unusual, but not
error conditions.
6
Warning
May indicate that an error will occur
if action is not taken.
5
Error
Error conditions
4
Critical
Critical conditions
3
Alert
Should be addressed immediately
2
Emergency
System is unusable
1
Web: Cron Log Level
UCI: system.main.cronloglevel
Opt: cronloglevel
Sets the maximum log level for kernel messages to be logged to the
console. Only messages with a level lower, or level equal to the
configured level will be printed to the console.
Web value Description
UCI
Normal
Normal operation messages
8
Warning
Error messages
9
Debug
Debug messages
5
Web: n/a
UCI: system.main.log_file
Opt: log_file
Since logread is only small in size it can be beneficial to write system
events to flash. This option defines the file path to write the events.
Set to ‘root/syslog.messages’
Web: n/a
UCI: system.main.log_type
Opt: log_type
Defines whether to write the system events to a file rather than
logread. Set to ‘file’ to write to the file configured under log_file
option.
Web: n/a
UCI: system.main.log_file_count
Opt: log_file_count
Defines the number of archive syslog files to store in flash. When
configured above to write to /root.syslog.messages files will be stored
at /root/syslog.messages,x (where x starts at 0).
Range
1
Stores 1 archive log file in flash
Table 13: Information table for the logging section