update configuration
fix logging and WRITE_DIA_LOG variable.