[spring] vm scripts

script to flush tomcat and postgres logs