Last active
February 26, 2020 07:27
-
-
Save Odew/31caf173b3feebcbd1a0 to your computer and use it in GitHub Desktop.
grcat configuration file for Openerp coloration log
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
# Error | |
regexp=ERROR.*$ | |
colours=bold red | |
count=stop | |
====== | |
# Warning Message | |
regexp=WARNING.*$ | |
colours=dark yellow | |
count=more | |
====== | |
# Warning Flag | |
regexp=WARNING | |
colours=dark bold yellow | |
count=more | |
====== | |
# Warning Access Rules | |
regexp=The model .* has no access rules | |
colours= on_red bold white | |
count=more | |
====== | |
# Info | |
regexp=INFO | |
colours=green | |
count=more | |
====== | |
# ip number | |
regexp=\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3} | |
colours=bold magenta | |
count=more | |
====== | |
# this is probably a pathname | |
regexp=[a-z_]*/[\w/\.]+ | |
colours=blue | |
count=more | |
===== | |
# Customer db Name | |
regexp=[a-z]{1,3}_[0-9]{1,2}_[0-9]{1,2} | |
colours=white | |
count=more |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
example:
tailf /var/log/odoo/logicasoft.log | grcat ~/.grc/openerp.conf