Fix log static var usage in master server