Usage: ./hgl [OPTION]... [LOGFILE]... --help display this help and exit --version output version information and exit --last=N output the last N lines, instead of the last 10; or use +N to output lines starting with the Nth --no-tail do not use tail.Simple write to standart output --csv=FS csv style output using field separator. You can change the path of LOG_FILE in the hgl script, to point to your server.log file. sample: LOG_FILE="/usr/local/glassfish/domains/domain1/logs/server.log"