There is a simpler way to suppress the massive log output every time you enter a directory managed by direnv. You can simply add the following line[1] to your .bashrc or whatever:
export DIRENV_LOG_FORMAT=
[1] https://github.com/direnv/direnv/issues/68#issuecomment-1626...