update the to latest kaminari logging hack

adapt to newer kaminari hack.