4992
|
1 " Vim syntax file
|
|
2 " Language: Innovation Data Processing usserver.log file
|
|
3 " Maintainer: Rob Owens <rowens@fdrinnovation.com>
|
|
4 " Latest Revision: 2013-06-17
|
|
5
|
|
6 " Quit when a syntax file was already loaded
|
|
7 if exists("b:current_syntax")
|
|
8 finish
|
|
9 endif
|
|
10
|
|
11 " Date:
|
|
12 syn match usserver_Date /\u\l\l \u\l\l\s\{1,2}\d\{1,2} \d\d:\d\d:\d\d \d\d\d\d/
|
|
13 " Msg Types:
|
|
14 syn match usserver_MsgD /Msg #\(Agt\|PC\|Srv\)\d\{4,5}D/ nextgroup=usserver_Process skipwhite
|
|
15 syn match usserver_MsgE /Msg #\(Agt\|PC\|Srv\)\d\{4,5}E/ nextgroup=usserver_Process skipwhite
|
|
16 syn match usserver_MsgI /Msg #\(Agt\|PC\|Srv\)\d\{4,5}I/ nextgroup=usserver_Process skipwhite
|
|
17 syn match usserver_MsgW /Msg #\(Agt\|PC\|Srv\)\d\{4,5}W/ nextgroup=usserver_Process skipwhite
|
|
18 " Processes:
|
|
19 syn region usserver_Process start="(" end=")" contained
|
|
20 " IP Address:
|
|
21 syn match usserver_IPaddr /\( \|(\)\zs\d\{1,3}\.\d\{1,3}\.\d\{1,3}\.\d\{1,3}/
|
|
22 " Profile:
|
|
23 syn region usserver_Profile start="Profile name \zs" end="\"\S\{1,8}\""
|
|
24 syn region usserver_Profile start=" Profile: \zs" end="\S\{1,8}"
|
|
25 syn region usserver_Profile start=", profile: \zs" end="\S\{1,8}\ze,"
|
|
26 syn region usserver_Profile start=" profile \zs" end="\S\{1,8}"
|
|
27 syn region usserver_Profile start=" Profile: \zs" end="\ze, "
|
|
28 syn region usserver_Profile start="Backup Profile: \zs" end="\ze Version date"
|
|
29 syn region usserver_Profile start="Full of \zs" end="\ze$"
|
|
30 syn region usserver_Profile start="Incr. of \zs" end="\ze$"
|
|
31 syn region usserver_Profile start="Profile=\zs" end="\S\{1,8}\ze,"
|
|
32 " Target:
|
|
33 syn region usserver_Target start="Computer: \zs" end="\ze[\]\)]"
|
|
34 syn region usserver_Target start="Computer name \zs" end="\ze,"
|
|
35 syn region usserver_Target start="Registration add request successful \zs" end="$"
|
|
36 syn region usserver_Target start="request to registered name \zs" end=" "
|
|
37 syn region usserver_Target start=", sending to \zs" end="$"
|
|
38
|
|
39 hi def link usserver_Date Underlined
|
|
40 hi def link usserver_MsgD Type
|
|
41 hi def link usserver_MsgE Error
|
|
42 hi def link usserver_MsgW Constant
|
|
43 hi def link usserver_Process Statement
|
|
44 hi def link usserver_IPaddr Identifier
|
|
45 hi def link usserver_Profile Identifier
|
|
46 hi def link usserver_Target Identifier
|
|
47
|
|
48 let b:current_syntax = "usserver"
|