Now log lines are actually taken from database.