Added recording logging