Hi otroslogviewer <http://code.google.com/p/otroslogviewer/> tool will not work for MarkLogic logs, it will work for only Log4j logs and some others. For more info visit: http://code.google.com/p/otroslogviewer/wiki/IncludedLogParsers
Regards, Abhinav Kumar Mishra * * On Sun, Sep 8, 2013 at 12:30 AM, <general-requ...@developer.marklogic.com>wrote: > Send General mailing list submissions to > general@developer.marklogic.com > > To subscribe or unsubscribe via the World Wide Web, visit > http://developer.marklogic.com/mailman/listinfo/general > or, via email, send a message with subject or body 'help' to > general-requ...@developer.marklogic.com > > You can reach the person managing the list at > general-ow...@developer.marklogic.com > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of General digest..." > > > Today's Topics: > > 1. Re: > How to check the logs on Rest API Instance(Marklogic) > (Erik Hennum) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sat, 7 Sep 2013 14:18:43 +0000 > From: Erik Hennum <erik.hen...@marklogic.com> > Subject: Re: [MarkLogic Dev General] How to check the logs on Rest API > Instance(Marklogic) > To: MarkLogic Developer Discussion <general@developer.marklogic.com> > Message-ID: > <dfdf2fd50bf5aa42adaf93ff2e3ca1850be...@exchg10-be01.marklogic.com > > > Content-Type: text/plain; charset="iso-8859-1" > > Hi, Manoj: > > I don't know of any function to access the logs other than > xdmp:filesystem-file() followed by fn:analyze-string(). > > You might want to consider parsing the log file outside of MarkLogic. > > I notice but haven't used the following tool, which might or might not > help: > > http://code.google.com/p/ > otroslogviewer/ > > > Erik Hennum > > ________________________________ > From: general-boun...@developer.marklogic.com [ > general-boun...@developer.marklogic.com] on behalf of manoj viswanadha [ > manoj.viswana...@gmail.com] > Sent: Friday, September 06, 2013 2:42 AM > To: MarkLogic Developer Discussion > Subject: Re: [MarkLogic Dev General] How to check the logs on Rest API > Instance(Marklogic) > > Hi Erik, > > Thanks for the information. Is there any function available in marklogic > where we can access the log files > directly so that it will be easy to use the function and get the logs? > > Thanks, > Manoj, > > > On Wed, Sep 4, 2013 at 9:35 PM, Erik Hennum <erik.hen...@marklogic.com > <mailto:erik.hen...@marklogic.com>> wrote: > Hi, Manoj: > > In the Logs subdirectory of the data directory for the enode, there is an > PORTNUMBER_AccessLog.txt file for each server including REST servers. That > gets you partway to your goal, in that it logs the access time, user, and > URI. > > Getting the complete time required to process a request is difficult > because there are many layers (some in C++ and some in XQuery) including > the HTTP server, rewriter, request and response processing, and database > query and document access. > > Depending on your goals, you might want to log the elapsed time for > requests in a REST client running on the same server as the enode. That > will give you a realistic picture of the roundtrip request (excluding > network cost). > > > Erik Hennum > > ________________________________ > From: general-boun...@developer.marklogic.com<mailto: > general-boun...@developer.marklogic.com> [ > general-boun...@developer.marklogic.com<mailto: > general-boun...@developer.marklogic.com>] on behalf of manoj viswanadha [ > manoj.viswana...@gmail.com<mailto:manoj.viswana...@gmail.com>] > Sent: Wednesday, September 04, 2013 6:10 AM > To: MarkLogic Developer Discussion > Subject: [MarkLogic Dev General] How to check the logs on Rest API > Instance(Marklogic) > > Hi all, > > Can anyone help me out how we can check the logs on Rest API instance on > Marklogic. > > I want to create my own log file for REST API into the database. So i want > to capture each and every request made on rest API and the response-time of > that particular request. > > Is there any way to do as above. > > Thanks in advance, > Manoj, > > _______________________________________________ > General mailing list > General@developer.marklogic.com<mailto:General@developer.marklogic.com> > http://developer.marklogic.com/mailman/listinfo/general > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://developer.marklogic.com/pipermail/general/attachments/20130907/47880caa/attachment-0001.html > > ------------------------------ > > _______________________________________________ > General mailing list > General@developer.marklogic.com > http://developer.marklogic.com/mailman/listinfo/general > > > End of General Digest, Vol 111, Issue 10 > **************************************** >
_______________________________________________ General mailing list General@developer.marklogic.com http://developer.marklogic.com/mailman/listinfo/general