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

I still don't like doing this in Java. It makes the log config files dependent on a very specific code path in the framework. It would be nice for users to be able to copy paste those files and use them as is.