Very fast python script to take a fast look at your glassfish server.log file.
Output:
Fecha Inicio: [2014-10-13T23:54:54.372+0200] Fecha Fin: [2014-10-16T13:46:22.230+0200] Total INFO: 826 Total WARN: 126 Total SEVERE: 2341 Total ERROR: 96 Total Processing: 3389 Total Exceptions: 0 Total logfile lines: 13646
The script:
Hello!
Fast trick to redirect ports when you are using an java application server.
Be careful because 80, 443, 8080 and 8181 ports will be open to Internet. If you want to close the 8080 and 8181 you will need an AJP proxy or to mark packets in the firewall. Read this link: