better logging
document configuration file