removed unsused logwriter