use logging for trace messages