Inithooks should use "proper" python loggin to give better feedback to logs.
I added a libinithooks.log module in a recent PR - specifically related to Nextcloud inithook improvements.
However, as @OnGle notes we already have initial integration with the python standard library logging module . Extending that would be much better! :)