On a server-wide basis you can configure "system log level" in the Admin setup under Groups - Default - Configure. And it appears that on a per-query basis you could use admin:group-set-file-log-level():
http://xqzone.com/pubs/4.0/apidocs/AdminLibraryGroup.html#admin:group-set-file-log-level but I don't have any experience actually using it. On Fri, 17 Apr 2009, Mike Sokolov wrote: > Does anybody know whether there is any way to configure Mark Logic to save > more information to its access logs? In particular we'd like to be able to > see query metrics; at a bare minimum, we need to know how long a query took. > Ideally we would also like to be able to get detailed query logging showing > the queries that are being performed, and all their arguments. Any additional > metrics, like # fragments, memory required, etc would be gravy. > > We've built support for something this in our application, but need to support > multiple products administered by different vendors and it would be great if > we could control logging centrally using MarkLogic admin tools. We want this > to be turned on and off without modifying the queries themselves or the > applications that invoke them. > > So - is this possible? In 3.2? In 4.0? Is it coming? > > any suggestions appreciated > > -Mike Sokolov > _______________________________________________ > General mailing list > General@developer.marklogic.com > http://xqzone.com/mailman/listinfo/general > -- David Sewell, Editorial and Technical Manager ROTUNDA, The University of Virginia Press PO Box 801079, Charlottesville, VA 22904-4318 USA Courier: 310 Old Ivy Way, Suite 302, Charlottesville VA 22903 Email: dsew...@virginia.edu Tel: +1 434 924 9973 Web: http://rotunda.upress.virginia.edu/ _______________________________________________ General mailing list General@developer.marklogic.com http://xqzone.com/mailman/listinfo/general