add log and debug package