made runtime logging dependencies optional