Configuration file and logging