add custom logging (stdout + file)