Added 1000 log limit