use handler and LogKernel