4992
|
1 " Vim syntax file
|
|
2 " Language: Innovation Data Processing usserver.log file
|
|
3 " Maintainer: Rob Owens <rowens@fdrinnovation.com>
|
5425
|
4 " Latest Revision: 2013-09-19
|
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 usserverlog_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 usserverlog_MsgD /Msg #\(Agt\|PC\|Srv\)\d\{4,5}D/ nextgroup=usserverlog_Process skipwhite
|
|
15 syn match usserverlog_MsgE /Msg #\(Agt\|PC\|Srv\)\d\{4,5}E/ nextgroup=usserverlog_Process skipwhite
|
|
16 syn match usserverlog_MsgI /Msg #\(Agt\|PC\|Srv\)\d\{4,5}I/ nextgroup=usserverlog_Process skipwhite
|
|
17 syn match usserverlog_MsgW /Msg #\(Agt\|PC\|Srv\)\d\{4,5}W/ nextgroup=usserverlog_Process skipwhite
|
4992
|
18 " Processes:
|
5277
|
19 syn region usserverlog_Process start="(" end=")" contained
|
4992
|
20 " IP Address:
|
5277
|
21 syn match usserverlog_IPaddr /\( \|(\)\zs\d\{1,3}\.\d\{1,3}\.\d\{1,3}\.\d\{1,3}/
|
4992
|
22 " Profile:
|
5277
|
23 syn match usserverlog_Profile /Using default configuration for profile \zs\S\{1,8}\ze/
|
|
24 syn match usserverlog_Profile /Now running profile \zs\S\{1,8}\ze/
|
|
25 syn match usserverlog_Profile /in profile set \zs\S\{1,8}\ze/
|
|
26 syn match usserverlog_Profile /Migrate disk backup from profile \zs\S\{1,8}\ze/
|
|
27 syn match usserverlog_Profile /Using profile prefix for profile \zs\S\{1,8}\ze/
|
|
28 syn match usserverlog_Profile /Add\/update profile \zs\S\{1,8}\ze/
|
|
29 syn match usserverlog_Profile /Profileset=\zs\S\{1,8}\ze,/
|
|
30 syn match usserverlog_Profile /profileset=\zs\S\{1,8}\ze/
|
|
31 syn match usserverlog_Profile /Vault \(disk\|tape\) backup to vault \d\{1,4} from profile \zs\S\{1,8}\ze/
|
|
32 syn match usserverlog_Profile /Profile name \zs\"\S\{1,8}\"/
|
|
33 syn match usserverlog_Profile / Profile: \zs\S\{1,8}/
|
|
34 syn match usserverlog_Profile / Profile: \zs\S\{1,8}\ze, /
|
|
35 syn match usserverlog_Profile /, profile: \zs\S\{1,8}\ze,/
|
|
36 syn match usserverlog_Profile /Expecting Profile: \zs\S\{1,8}\ze,/
|
|
37 syn match usserverlog_Profile /found Profile: \zs\S\{1,8}\ze,/
|
|
38 syn match usserverlog_Profile /Profile \zs\S\{1,8} \zeis a member of group: /
|
5425
|
39 syn match upstreamlog_Profile /Backup Profile: \zs\S\{1,8}\ze Version date/
|
|
40 syn match upstreamlog_Profile /Backup profile: \zs\S\{1,8}\ze Version date/
|
5277
|
41 syn match usserverlog_Profile /Full of \zs\S\{1,8}\ze$/
|
|
42 syn match usserverlog_Profile /Incr. of \zs\S\{1,8}\ze$/
|
|
43 syn match usserverlog_Profile /Profile=\zs\S\{1,8}\ze,/
|
4992
|
44 " Target:
|
5277
|
45 syn region usserverlog_Target start="Computer: \zs" end="\ze[\]\)]"
|
5425
|
46 syn region usserverlog_Target start="Computer name \zs\"" end="\"\ze"
|
5277
|
47 syn region usserverlog_Target start="Registration add request successful \zs" end="$"
|
|
48 syn region usserverlog_Target start="request to registered name \zs" end=" "
|
|
49 syn region usserverlog_Target start=", sending to \zs" end="$"
|
4992
|
50
|
5277
|
51 hi def link usserverlog_Date Underlined
|
|
52 hi def link usserverlog_MsgD Type
|
|
53 hi def link usserverlog_MsgE Error
|
|
54 hi def link usserverlog_MsgW Constant
|
|
55 hi def link usserverlog_Process Statement
|
|
56 hi def link usserverlog_IPaddr Identifier
|
|
57 hi def link usserverlog_Profile Identifier
|
|
58 hi def link usserverlog_Target Identifier
|
4992
|
59
|
5277
|
60 let b:current_syntax = "usserverlog"
|