【问题标题】:Grails audit logging plugin for mongodb is not working用于 mongodb 的 Grails 审计日志插件不起作用
【发布时间】:2014-06-21 14:44:52
【问题描述】:

我正在使用 grails 2.2.3 , mongodb 1.3.3 凝乳操作工作正常。

我想记录我的凝乳操作

所以我使用审计日志插件“audit-logging:1.0.0”,它在 mysql-database 上运行良好,但在 mongodb 上运行良好。它显示

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

任何人都遇到过这个问题。

帮我解决这个问题。

提前致谢。干杯..

【问题讨论】:

  • 这是您在日志(或输出)中看到的第一个错误吗?
  • 是的,发生了运行时错误

标签: mongodb grails audit-logging


【解决方案1】:

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

【讨论】:

    猜你喜欢
    • 2012-10-01
    • 2012-03-27
    • 1970-01-01
    • 2013-07-09
    • 1970-01-01
    • 2014-06-30
    • 2011-02-21
    • 1970-01-01
    • 2023-02-08
    相关资源
    最近更新 更多