logs limit set to 500 lines