added config loading to the log
static cleanup of config