Use logger in pool.