How to deactivate the event log?

You can make small changes inline in the Z2JH config

Something like this should work (might not be quite right as I’m writing this from memory):

hub:
  extraConfig:
    00-custom-spawner: |
      from kubespawner import KubeSpawner
      class MyCustomSpawner(KubeSpawner):
        def parent_function_to_be_overridden(self, ...):
          ....
      c.JupyterHub.spawner_class = MyCustomSpawner

I haven’t thought about this, but if you can come up with a full proposal please open an issue on GitHub - jupyterhub/kubespawner: Kubernetes spawner for JupyterHub