In actions under this chapter, the trial shall be by the court without a jury. In an action to establish paternity, the court shall, upon request of any party, exclude the general public from the room where the trial is held and may admit only persons directly interested in the case, including officers of the court and witnesses.
Mass. Gen. Laws ch. 209C, § 12