Forum Discussion
Logging info sent to syslog
- Apr 24, 2019
If I understand you correctly, you want to understand what level of information that syslog-ng in your device is sending to log files
To do so, perform the following procedure:
Log in to the tmsh utility by typing the following command:
tmshList the level of information that syslog-ng sends to the log files by typing the following command:
list /sys syslog all-propertiesIf you want to effect a change to the level of information that syslog-ng sends to log files, log in to the tmsh utility by typing the following command:
tmshModify the level of information that syslog-ng sends to log files by using the following syntax:
modify /sys syslogFor example, the default log level range for the authpriv syslog facility is from notice to emerg. To change the authpriv syslog facility range from warning to emerg, type the following command:
modify /sys syslog auth-priv-from warningNote: For other syslog options, use the
command from the tmsh utility.help /sys syslogSave the change by typing the following command:
save /sys config
If I understand you correctly, you want to understand what level of information that syslog-ng in your device is sending to log files
To do so, perform the following procedure:
Log in to the tmsh utility by typing the following command:
tmsh
List the level of information that syslog-ng sends to the log files by typing the following command:
list /sys syslog all-properties
If you want to effect a change to the level of information that syslog-ng sends to log files, log in to the tmsh utility by typing the following command:
tmsh
Modify the level of information that syslog-ng sends to log files by using the following syntax:
modify /sys syslog
For example, the default log level range for the authpriv syslog facility is from notice to emerg. To change the authpriv syslog facility range from warning to emerg, type the following command:
modify /sys syslog auth-priv-from warning
Note: For other syslog options, use the
help /sys syslog command from the tmsh utility.
Save the change by typing the following command:
save /sys configHelp guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
