Created
August 8, 2012 19:28
-
-
Save mattbailey/3297890 to your computer and use it in GitHub Desktop.
backend.swatch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
watchfor /Error|ERROR|fail|FAIL|Fail|Fatal|fatal|FATAL|WARN|Warn|warn/ | |
exec echo '$_' | swatchout.sh backend_daily 34560 1 20000 | |
watchfor /Error|ERROR|fail|FAIL|Fail|error/ | |
exec echo '$_' | swatchout.sh backend_error 600 20 25 | |
watchfor /Fatal|FATAL|fatal/ | |
exec echo '$_' | swatchout.sh backend_fatal 5 1 1 | |
watchfor /warn|Warn|WARN/ | |
exec echo '$_' | swatchout.sh backend_warn 600 100 150 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment