implement log hints using ets. Fix for #22