add logger to pocket