make error log after dropping privileges
need to copy the string here