change calling of #log