Loggin and limiting event records