4992
|
1 " Vim syntax file
|
|
2 " Language: Innovation Data Processing USW2KAgt.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 usw2kagentlog_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 usw2kagentlog_MsgD /Msg #\(Agt\|PC\|Srv\)\d\{4,5}D/ nextgroup=usw2kagentlog_Process skipwhite
|
|
15 syn match usw2kagentlog_MsgE /Msg #\(Agt\|PC\|Srv\)\d\{4,5}E/ nextgroup=usw2kagentlog_Process skipwhite
|
|
16 syn match usw2kagentlog_MsgI /Msg #\(Agt\|PC\|Srv\)\d\{4,5}I/ nextgroup=usw2kagentlog_Process skipwhite
|
|
17 syn match usw2kagentlog_MsgW /Msg #\(Agt\|PC\|Srv\)\d\{4,5}W/ nextgroup=usw2kagentlog_Process skipwhite
|
|
18 " Processes:
|
|
19 syn region usw2kagentlog_Process start="(" end=")" contained
|
|
20 syn region usw2kagentlog_Process start="Starting the processing for a \zs\"" end="\ze client request"
|
|
21 syn region usw2kagentlog_Process start="Ending the processing for a \zs\"" end="\ze client request"
|
|
22 " IP Address:
|
|
23 syn match usw2kagentlog_IPaddr / \d\{1,3}\.\d\{1,3}\.\d\{1,3}\.\d\{1,3}/
|
|
24 " Profile:
|
|
25 syn region usw2kagentlog_Profile start="Profile name \zs" end="\"\S\{1,8}\""
|
|
26 syn region usw2kagentlog_Profile start=" Profile: \zs" end="\S\{1,8}"
|
|
27 syn region usw2kagentlog_Profile start=" Profile: \zs" end="\ze, "
|
|
28 syn region usw2kagentlog_Profile start="Backup Profile: \zs" end="\ze Version date"
|
|
29 syn region usw2kagentlog_Profile start="Full of \zs" end="\ze$"
|
|
30 syn region usw2kagentlog_Profile start="Incr. of \zs" end="\ze$"
|
|
31 syn region usw2kagentlog_Profile start="profile name \zs\"" end="\""
|
|
32 " Target:
|
|
33 syn region usw2kagentlog_Target start="Computer: \zs" end="\ze[\]\)]"
|
|
34 syn region usw2kagentlog_Target start="Computer name \zs" end="\ze,"
|
|
35 " Agent Keywords:
|
|
36 syn keyword usw2kagentlog_Agentword opened closed
|
|
37
|
|
38 hi def link usw2kagentlog_Date Underlined
|
|
39 hi def link usw2kagentlog_MsgD Type
|
|
40 hi def link usw2kagentlog_MsgE Error
|
|
41 hi def link usw2kagentlog_MsgW Constant
|
|
42 hi def link usw2kagentlog_Process Statement
|
|
43 hi def link usw2kagentlog_IPaddr Identifier
|
|
44 hi def link usw2kagentlog_Profile Identifier
|
|
45 hi def link usw2kagentlog_Target Identifier
|
|
46 hi def link usw2kagentlog_Agentword Special
|
|
47
|
|
48 let b:current_syntax = "usw2kagentlog"
|