httplog : Highlight access log of Apache, nginx, etc
script karma |
Rating 19/13,
Downloaded by 3393 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
lilydjwg |
|
script type |
syntax |
|
description |
This is a simple syntax file to highlight access log of several HTTP servers (with the default log format).
localhost's IP, LAN IP will be highlighted differently and 5xx HTTP status code will be highlighted in ErrorMsg. And names of a few browsers and other clients in the user agent string will be highlighted too. |
|
install details |
Put it in your syntax directory. You can add this to your filetype.vim to make Vim recognize the log files:
au BufRead *access.log* setf httplog |
|
script versions (upload new version)
Click on the package to download.
httplog.vim |
0.5 |
2013-08-31 |
7.0 |
lilydjwg |
* more user agents |
httplog.vim |
0.4 |
2012-11-28 |
7.0 |
lilydjwg |
- Match three missing HTTP requests (OPTIONS, PATCH and TRACE).
- Match 172.16.0.0 - 172.31.255.255 IP address range for LAN.
Thanks to Audrius Kažukauskas. |
httplog.vim |
0.3 |
2012-11-27 |
7.0 |
lilydjwg |
* update user agent matching
* update ip address matching |
httplog.vim |
0.2 |
2011-05-06 |
7.0 |
lilydjwg |
Fix HTTP status code highlighting. |
httplog.vim |
0.1 |
2010-03-09 |
6.0 |
lilydjwg |
Initial upload |
ip used for rating: 3.239.76.211
|