move log to super class