callback correct logging