add permanent logging