mirror of https://github.com/garabik/grc.git
Merge pull request #170 from Raizo62/p_log_ip_port
conf.log : the port of "172.16.1.100:56364" is now fully colored
This commit is contained in:
commit
61c070db25
|
@ -52,8 +52,8 @@ regexp=([\w/\.\-]+)(\[\d+?\])
|
|||
colours=bold blue, bold red
|
||||
count=more
|
||||
======
|
||||
# IPv4
|
||||
regexp=\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}
|
||||
# IPv4 or IPv4:Port
|
||||
regexp=\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?
|
||||
colours=bold yellow
|
||||
count=more
|
||||
======
|
||||
|
|
Loading…
Reference in New Issue