title: Log file highlighting for vim
body: <p>In VIM I would like to highlight my files ending with extension <code>.log</code> as shown below</p>
  
  <p><a href="https://i.stack.imgur.com/OGqD0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OGqD0.png" alt="enter image description here"></a></p>
  
  <p>I tried installing <a href="https://github.com/MTDL9/vim-log-highlighting" rel="nofollow noreferrer">https://github.com/MTDL9/vim-log-highlighting</a> . </p>
  
  <p>Vim version = IMproved 8.0</p>
  
  <p>.vimrc file = <a href="https://github.com/aseem-hegshetye/vim_setup/blob/master/.vimrc" rel="nofollow noreferrer">https://github.com/aseem-hegshetye/vim_setup/blob/master/.vimrc</a> </p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>Following steps got me a certain highlights structure shown in an image below, but not as good as what I am looking for :</p>
  
  <ol>
  <li>create ~/.vim/syntax/log.vim from this file:
  <a href="https://github.com/dzeban/vim-log-syntax/blob/master/syntax/log.vim" rel="nofollow noreferrer">https://github.com/dzeban/vim-log-syntax/blob/master/syntax/log.vim</a></li>
  <li>Create ~/.vim/ftdetect/log.vim from this file:
  <a href="https://github.com/MTDL9/vim-log-highlighting/blob/master/syntax/log.vim" rel="nofollow noreferrer">https://github.com/MTDL9/vim-log-highlighting/blob/master/syntax/log.vim</a> 
  <a href="https://i.stack.imgur.com/gsg9s.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gsg9s.png" alt="enter image description here"></a></li>
  </ol>
  
  <p>Thanks</p>