Added max_log_generation config
Fixed max_log_size default value