Marklogic Audit Log -
i see below sample audit logging marklogic provides
sample logging : 2012-03-26 10:55:53.735 event=amp-usage; function=http://marklogic.com/xdmp/admin:read-config-file; uri=/marklogic/admin.xqy; database=filesystem; success=true; user=admin; roles=admin;
can customize message adding few more details highlighted below
sample logging : 2012-03-26 10:55:53.735 event=amp-usage; function=http://marklogic.com/xdmp/admin:read-config-file; uri=/marklogic/admin.xqy; database=filesystem;success=true; user=admin; roles=admin; received request tenant id=xxxxx called source id=xxxx web. request id xxxx
the purpose of audit logging generated marklogic, , not depend on application, nor being influenced in way. should independent source verify/audit database activity.
i think trace event logging looking for. there built-in trace events, url rewrite:
http://docs.marklogic.com/guide/app-dev/appserver-control#id_25611
and can use fn:trace generate custom trace events. make sure activate trace events on diagnostics page of appropriate group in admin interface, , add on same page relevant trace events list of events should logged.
hth!
Comments
Post a Comment