针对mongodb的Grails审计日志记录插件无法正常工作 [英] Grails audit logging plugin for mongodb is not working

查看:409
本文介绍了针对mongodb的Grails审计日志记录插件无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用grails 2.2.3,mongodb 1.3.3 curd操作正常。

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

我想记录我的凝乳操作

所以我使用审计日志记录插件audit-logging:1.0.0,它可以在mysql数据库中正常工作,但不能和mongodb一起使用。它显示了

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.

帮助我解决这个问题。

在此先感谢您。欢呼声。

Thanks in advance. cheers..

推荐答案

我建议你的报告问题 http://jira.grails.org/browse/GPAUDITLOGGING

这篇关于针对mongodb的Grails审计日志记录插件无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆