better logging and properties from config