only create log files if they are actually used
upgrade to scala 2.10 and Java 7