use chan write log