4992
|
1 " Vim syntax file
|
|
2 " Language: Innovation Data Processing USW2KAgt.log file
|
|
3 " Maintainer: Rob Owens <rowens@fdrinnovation.com>
|
6663
|
4 " Latest Revision: 2014-04-01
|
4992
|
5
|
|
6 " Quit when a syntax file was already loaded
|
|
7 if exists("b:current_syntax")
|
|
8 finish
|
|
9 endif
|
|
10
|
|
11 " Date:
|
5277
|
12 syn match usw2kagtlog_Date /\u\l\l \u\l\l\s\{1,2}\d\{1,2} \d\d:\d\d:\d\d \d\d\d\d/
|
4992
|
13 " Msg Types:
|
5277
|
14 syn match usw2kagtlog_MsgD /Msg #\(Agt\|PC\|Srv\)\d\{4,5}D/ nextgroup=usw2kagtlog_Process skipwhite
|
|
15 syn match usw2kagtlog_MsgE /Msg #\(Agt\|PC\|Srv\)\d\{4,5}E/ nextgroup=usw2kagtlog_Process skipwhite
|
|
16 syn match usw2kagtlog_MsgI /Msg #\(Agt\|PC\|Srv\)\d\{4,5}I/ nextgroup=usw2kagtlog_Process skipwhite
|
|
17 syn match usw2kagtlog_MsgW /Msg #\(Agt\|PC\|Srv\)\d\{4,5}W/ nextgroup=usw2kagtlog_Process skipwhite
|
4992
|
18 " Processes:
|
5277
|
19 syn region usw2kagtlog_Process start="(" end=")" contained
|
6663
|
20 "syn region usw2kagtlog_Process start="Starting the processing for a \zs\"" end="\ze client request"
|
|
21 "syn region usw2kagtlog_Process start="Ending the processing for a \zs\"" end="\ze client request"
|
|
22 "syn region usw2kagtlog_Process start="Starting the processing for a \zs\"" end="\ze client\s\{0,1}\r\{0,1}\s\{1,9}request"
|
|
23 "syn region usw2kagtlog_Process start="Ending the processing for a \zs\"" end="\ze client\s\{0,1}\r\{0,1}\s\{1,9}request"
|
|
24 syn region usw2kagtlog_Process start="Starting the processing for a \zs\"" end="\ze client"
|
|
25 syn region usw2kagtlog_Process start="Ending the processing for a \zs\"" end="\ze client"
|
4992
|
26 " IP Address:
|
5277
|
27 syn match usw2kagtlog_IPaddr / \d\{1,3}\.\d\{1,3}\.\d\{1,3}\.\d\{1,3}/
|
4992
|
28 " Profile:
|
5277
|
29
|
|
30 syn match usw2kagtlog_Profile /Profile name \zs\"\S\{1,8}\"/
|
|
31 syn match usw2kagtlog_Profile / Profile: \zs\S\{1,8}/
|
|
32 syn match usw2kagtlog_Profile / Profile: \zs\S\{1,8}\ze, /
|
5425
|
33 syn match upstreamlog_Profile /Backup Profile: \zs\S\{1,8}\ze Version date/
|
|
34 syn match upstreamlog_Profile /Backup profile: \zs\S\{1,8}\ze Version date/
|
5277
|
35 syn match usw2kagtlog_Profile /Full of \zs\S\{1,8}\ze$/
|
|
36 syn match usw2kagtlog_Profile /Incr. of \zs\S\{1,8}\ze$/
|
|
37 syn match usw2kagtlog_Profile /profile name "\zs\S\{1,8}\ze"/
|
4992
|
38 " Target:
|
5277
|
39 syn region usw2kagtlog_Target start="Computer: \zs" end="\ze[\]\)]"
|
5425
|
40 syn region usw2kagtlog_Target start="Computer name \zs\"" end="\"\ze"
|
4992
|
41 " Agent Keywords:
|
5277
|
42 syn keyword usw2kagtlog_Agentword opened closed
|
4992
|
43
|
5277
|
44 hi def link usw2kagtlog_Date Underlined
|
|
45 hi def link usw2kagtlog_MsgD Type
|
|
46 hi def link usw2kagtlog_MsgE Error
|
|
47 hi def link usw2kagtlog_MsgW Constant
|
|
48 hi def link usw2kagtlog_Process Statement
|
|
49 hi def link usw2kagtlog_IPaddr Identifier
|
|
50 hi def link usw2kagtlog_Profile Identifier
|
|
51 hi def link usw2kagtlog_Target Identifier
|
|
52 hi def link usw2kagtlog_Agentword Special
|
4992
|
53
|
|
54 let b:current_syntax = "usw2kagentlog"
|