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

In Log4JLoggingSystem, it will give LOG_CATEGORY default value INFO, so if you don't define LOG_CATEGORY in your properties, it still works.