Revert "Checking whether we can write to error log"

This reverts commit 369c3ec94f96c4948603abdd40d742cc2b925462.