spring-boot-1612: make console and file output configurable

1 disable the file output unless LOG_FILE is set
2 make the console optional

fixes: gh-1612

Comments? Really? How about removing them if this code if it's not used (but I would prefer to use config files like this one, instead of the Java API).