Added LogAPI and LogDAO for storing logs from application/plugins.