Thanks Geert, It worked.....
Regards Dharmendra Kumar Singh On Thu, May 3, 2018 at 6:57 PM, Geert Josten <[email protected]> wrote: > ErrorLog.txt is used for system-wide messages only since MarkLogic 9, and > app(-server) specific messages are written to <port>_ErrorLog.txt. When > running xdmp:log from QConsole on port 8000, look for 8000_ErrorLog.txt. > You should find your messages there.. > > > > Messages can get a little scattered that way, particularly when also > spawning tasks on the TaskServer, but it also allows protecting particular > parts of logging in case there could be sensitive data inside. I typically > find myself using something like this to follow all logs at once: > > > > tail -f /var/opt/MarkLogic/Logs/*.txt > > > > Cheers, > > Geert > > > > *From: *<[email protected]> on behalf of DK Singh < > [email protected]> > *Reply-To: *MarkLogic Developer Discussion <[email protected]. > com> > *Date: *Thursday, May 3, 2018 at 3:21 PM > *To: *MarkLogic Developer Discussion <[email protected]> > *Subject: *[MarkLogic Dev General] Not able to write in ErrorLog.txt > (Markloglogc 9) > > > > Hi I am using Marklogic 9 and i am running simple query using xdmp:log > function from query console to write in in the ErrorLog.txt but not able to > write, can anyone anything need to be configured in marklogc 9 for the > writing in the log . i also tried to restart the server but the same > result. > > > > > > Query Example: xdmp:log("#######Hello####") > > > > Regards > > Dharmendra Kuarm Singh > > > > > > _______________________________________________ > General mailing list > [email protected] > Manage your subscription at: > http://developer.marklogic.com/mailman/listinfo/general > >
_______________________________________________ General mailing list [email protected] Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
