add log to badge app