setlog mask should be publicly available