remove logging code and add entry from framework