added warning note about deallocation. Adjusted log levels