Saving logs on different lists based on their levels.