Logging performance optimization (depends on ComediDevice buffer size)