configurable logging
added set method, fixed configuration