log path before storing