Fixed logging

Fixed a few logging issues
Need logging in more classes
Need to fix log configuration file loading