add logs using logger