It doesn't happen. Nobody is stopping pilots and checking that. Our authorities have better things to do with their time. A logbook is also not a legally required document on board for either domestic or international flight, so even if they were that bored, they would have no right to demand it.
G