jbosslog : Syntax file for viewing Jboss Logs
script karma |
Rating 0/0,
Downloaded by 487 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
bala dutt |
|
script type |
syntax |
|
description |
if you wanted exceptions/errors to stand out as red words, date to be in a different color so that it may be ignored ... here is the script that will do that for you. |
|
install details |
If you are on windows and you use cygwin, here are some more things that you could add to your ~\_vimrc
filetype plugin on
"set cfu=VjdeCompletionFun
"let g:vjde_lib_path="lib/j2ee.jar:lib/struts.jar:build/classes"
set shell=D:/tools/cygwin/bin/bash
set shellcmdflag=--login\ -c
set shellxquote=\"
fu! Log()
:e C:\whp-jboss-5.3.1.2\server\default\log\server.log
:se autoread
endfunction
fu! Field(n)
echo a:n
let str1="1,'a! awk '{print $".a:n." }'"
echo str1
:execute str1
endfunction
fu! NotField(n)
echo a:n
let str1="1,'a! awk '{$".a:n."=\"\"\"\"; print; }'"
echo str1
:execute str1
endfunction
fu! MessageOnly()
:1,$s/\([^,]*\), \(.*$\)/\2 \1/
endfunction
augroup filetypedetect
au! BufRead,BufNewFile server.log set filetype=jbosslog
augroup END
syntax on |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 3.144.96.159
|