add accessor to configure logging