Moved logging and settings access functions to libs/util