xdmp:log only logs to ErrorLog.txt.  You sort of have 2 choices (or some combo 
of the 2)


1)      log to a document in a database

2)      use xdmp:save to save out to a file

Or, as a 3rd option, use xdmp:log and then extract your parts from the 
ErrorLog.txt file.

-Danny

From: [email protected] 
[mailto:[email protected]] On Behalf Of Rajasekaran, 
Santhosh
Sent: Friday, June 08, 2012 6:50 AM
To: MarkLogic Developer Discussion
Subject: [MarkLogic Dev General] How do we Configure Application specific or 
Module specific log files in Marklogic.

Hi Guys,

Generally Marklogic is by default configured to write all the log messages in 
"ErrorLog.txt" file. This log file is configured at "Host" level, and it is 
common to all the application that is running in that host.

xdmp:log() function will write the log message to "ErrorLog.txt" file by 
default.

My requirement is to configure some seperate log file eg: Myapplog.txt or 
MyModlog.txt.

Do we have that kind of feature in Marklogic server. Or How can i achieve this. 
How so i say to my log function which file it should write. Is there any other 
function?

Thanks & Regards,
Santhosh
_______________________________________________
General mailing list
[email protected]
http://community.marklogic.com/mailman/listinfo/general

Reply via email to