settings and logfile