write to null feature

- read correct ErrorLogsFile
- add feature if LogsDirectory is not set write to null