Added basic logger handler before the full configuration of the main logger
Better error messages in case of syntax errors on the config file