test using logger