Grails audit logging plugin for mongodb is not working

亡梦爱人 提交于 2019-12-08 10:08:53

问题


I am using grails 2.2.3 , mongodb 1.3.3 the curd operation is working fine.

I want to log my curd operation

so i use audit-logging plugin "audit-logging:1.0.0",it work fine with mysql-database but not with mongodb.It shows

Error 2014-05-05 15:45:04,117 [localhost-startStop-1] ERROR context.GrailsContextLoader  - Error initializing the application: Cannot get property 'datastores' on null object

Message: Cannot get property 'datastores' on null object

   Line | Method
->>  90 | doCall   in AuditLoggingGrailsPlugin$_closure1
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
|   303 | innerRun in java.util.concurrent.FutureTask$Sync

|   138 | run . .  in java.util.concurrent.FutureTask

|   886 | runTask  in java.util.concurrent.ThreadPoolExecutor$Worker

|   908 | run . .  in     ''
^   662 | run      in java.lang.Thread

Any one came across this issue.

help me to solve this.

Thanks in advance. cheers..


回答1:


I suggest your report the issue http://jira.grails.org/browse/GPAUDITLOGGING



来源:https://stackoverflow.com/questions/23470095/grails-audit-logging-plugin-for-mongodb-is-not-working

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!