modify PowerLogger