set logger as static