Forum Discussion
cdjac0bsen
Nimbostratus
Apr 23, 2020Help simulating ASM syslog events at error level and above for testing?
Does anyone have a suggestion on how to generate system events on an ASM at error, critical, or emergency levels for testing remote syslog logging?
- Apr 24, 2020
Hi,
you can use the logger command to generate a log message manually
logger -p <facility>.<level> "<descriptive message>"
[admin@F5BIPIP:Active:In Sync] ~ # logger -p local0.notice "testing LTM facility level notice" [admin@F5BIPIP:Active:In Sync] ~ # tail -f /var/log/ltm Apr 24 08:16:14 F5BIPIP notice admin[29591]: testing LTM facility noticeMore details here : https://support.f5.com/csp/article/K86480148
Regards
Lidev
Nacreous
Apr 24, 2020Hi,
you can use the logger command to generate a log message manually
logger -p <facility>.<level> "<descriptive message>"
[admin@F5BIPIP:Active:In Sync] ~ # logger -p local0.notice "testing LTM facility level notice"
[admin@F5BIPIP:Active:In Sync] ~ # tail -f /var/log/ltm
Apr 24 08:16:14 F5BIPIP notice admin[29591]: testing LTM facility noticeMore details here : https://support.f5.com/csp/article/K86480148
Regards
cdjac0bsen
Nimbostratus
Apr 24, 2020That worked perfectly, thanks! The events even show up in the GUI.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects
