Handling Logout

Hello, Is it possible to handle logout ? (initially just to understand the workflow )

In the juyterhub_config.py, I tried something like the following, but It doesn"t work (I never get the expected message Calling MyLogoutHandler)

class MyLogoutHandler(LogoutHandler):
  async def handle_logout(self):
  MY_LOGGER.info("Calling MyLogoutHandler ")  
  return

c.JupyterHub.default_handlers = [(r"/login", LoginHandler), (r"/logout", MyLogoutHandler)]

How to define its own Handler ?

Best regards,
Bernard