Fixed error where the logging configuration fields were not being correctly loaded.
Discrimated which log messages are normal and which are errors.
When chowning files or creating directories set them to the users group instead of root.