My observation of day life with some tech
On opening the /var/log/messages in vim , if logs are not presented in color , then executing the below command to add color
set filetype=messages