
UNSOLVED
Add Tag on Logging
So i've a script that would telnet and gather an output of 'show logging' and would be forwared with wa-cli to send message,
here's the setting of show logging :
Syslog logging: enabled
Console logging: level debugging
Monitor logging: level debugging
Buffer logging: level debugging, 370 Messages Logged, Size (40960 bytes)
Trap logging: level informational
how can i grep logging that match into EMERG, ALERT, CRIT and ERROR, so i can sent this 4 level log using wa-cli
Thanks for your time.
Responses (0)
Solutions (0)
