A simple logger demo with eventmachine