This is assuming proper setup, more husbandry info would definitely help.
I also see you said his "log" if it's a half log type these aren't really recommended. 2 of the same size hides that are enclosed with an entrance that the snake will fit snugly in is recommended (ie. plastic bowl with entrance cut out).