ch-mnq
Last Updated: February 25, 2016
·
958
· alirezascorpion

get Comfortable with windows tomcat logfiles

not sure if thats a pro tip but its very useful !~
gnu-linux users like me use tail or tailf command for live monitoring of logfiles , because of project situation i had to work with liferay portal on windows platform . when you start liferay tomcat you see wired cmd base log viewer you can't even copy logfiles !

Picture

after some searches .. i've found two solutions one for dear IntelliJ users and one global !

  1. Bare Tail :
    A free real-time log file monitoring tool: * Real-time file viewing * Follow tail mode (like tail -f on Unix) * View files of any size (> 2GB) * Scroll to any point in the file instantly * Configurable highlighting * Monitor multiple files simultaneously * Visual indication of file status/changes * International character sets (Unicode and UTF-8) * Many file formats (Win32, Unix, Microsoft IIS logs) * Flexible configuration options and storage * Single, small executable, no installer
    Picture

    1. IntelliTail plugin for IntelliJ IDEA

Actually i'm in love with that ! after installing plugin from plugin repository of your idea you have new perspective in front of your ide . just open $TOMCAT_HOME/log/catalina.out file and make your own highlights for INFO , WARN , and ERROR logs .. !

Picture