FIX: Decprecation warning + drop_log_stats function