#210: optimized logging