logger statement refined