add log information in the logger