Fixing logListener for non-meteor apps.