logging of apriori