Added log to SQL and Soap Library.