Let $L(n)$ to be a number of logarithms that you need to apply on $n$ until you get below 1:
$$ 0 \leq \log\cdots\log n < 1 \\ \uparrow \\ L(n)\mbox{-times} $$
Is there a name for this function? It's clearly very very slowly growing. Is it perhaps somehow related to the inverse Ackermann function?
It is known as the iterated logarithm function $\log^{*}(n)$, with a small modification. Note that we have that $\log^{*}(n)=0$ if $0 \leq n \leq 1$. However your $L(1)=1$. This will cause that $L(n) \neq \log^{*}(n)$ if $n$ is in the following sequence:
$$1,e,e^e, e^{e^e}, e^{e^{e^e}}, e^{e^{e^{e^e}}}, \cdots$$
The inverse Ackermann function $\alpha(n)$ is even slower. For example, consider the powertower $b=e^{e^{e^{e^{\dots}}}}$ with height $10^9$. Then $\log^{*}(n)=10^9+1$, $L(n)=10^9$ but $\alpha(n)=5$.