Answer:
Option D
Explanation:
Given :  f(x) = log x
 g(x) = log x + 5.
Solution:
Rule : f(x)→f(x)+b
Graph f(x) is translated up by b units
Now using this rule 
f(x) = log x→g(x) = log x + 5.
So, f(x) is translated up by 5 units to obtain g(x).
In option D the graph is translated up by 5 units.
Thus Option D is correct.
Refer the attached graph for the translation.