The logarithmic function is not defined for any value less then or equal to zero.
Here, if $y=\log_e(x−4)$ is logarithmic function then its domain is $x \in (4, +\infty)$, and range is what we get output from given input. Here, its range is $y \in R$. That means all real numbers. It can be positive or negative. My question is for which values of $x$, $y$ becomes negative.



Consider the graph of $\ln (x-4)$ as a transformation of the graph of $\ln(x)$. The transformation is a shift to the right by 4 units. SO to find the domain, one shifts the domain 4 units to the right and the range stays the same.
Since $\ln(x) <$ 0 for x $<$ 1, then $\ln(x-4) <$ 0 for x $<$ 1+4 = 5. You can treat the case where $\ln(x-4) >$ 0 similarly.