Forum Discussion

cdjac0bsen's avatar
Icon for Nimbostratus rankNimbostratus
Apr 23, 2020

Help 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?
  • Lidev's avatar
    Apr 24, 2020


    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 notice

    More details here :