Hi Alan,

The Admin API is mostly about configuration of MarkLogic Server, not
about the log files (except for configuring them).  However you can use
the error handler in 4.0 to perform arbitrary XQuery upon errors, so you
can write an error handler to send email (using xdmp:email) to your JIRA
system in the event of a 500 error, for example.  

-Danny

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Alan
Darnell
Sent: Sunday, January 25, 2009 11:39 AM
To: General Mark Logic Developer Discussion
Subject: [MarkLogic Dev General] capturing app server errors

I'm wondering if there is a way to capture app server errors (as  
reported to the error log) and have them sent via the new admin api to  
an email address.  I'd like to send these on to JIRA to automatically  
create project issues as we run our apps through various tests.  Would  
something like this be possible or should we just grep the log files  
and build issues that way?

Thanks in advance,

Alan
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to