added worked logwriter