Logging and default constructor for config friendliness