settings and logging config