We have log file sitting under folder
/MarkLogic-Data/Logs/ErrorLog.txt
As per firm policy, developer has no access to PROD box. I was wondering if I
can design a UI where I can see Error log files like this.
I want to write on XQY which will read above path and list all files in that
folder
5798 Apr 24 09:32 11000_AccessLog.txt
40073 Apr 23 15:41 11000_AccessLog_1.txt
.
.
.
.
0 Apr 24 00:00 AuditLog.txt
0 Apr 23 00:00 AuditLog_1.txt
.
.
.
0 Apr 18 00:00 AuditLog_6.txt
6134109 Apr 24 13:37 ErrorLog.txt
20735156 Apr 23 23:04 ErrorLog_1.txt
19328645 Apr 22 13:51 ErrorLog_2.txt
15949 Apr 21 11:08 ErrorLog_3.txt
1104578 Apr 20 23:04 ErrorLog_4.txt
28477360 Apr 19 21:44 ErrorLog_5.txt
1018162 Apr 18 14:12 ErrorLog_6.txt
19787299 Jul 6 2011 ErrorLog_7.txt
Also let me know how to split my log file they are of approx 500 MB
They are with the default setting
System log file: notice
File log level: info
Rotate log file: daily
Keep log file: 7
~Gurbeer
________________________________
NOTICE: Morgan Stanley is not acting as a municipal advisor and the opinions or
views contained herein are not intended to be, and do not constitute, advice
within the meaning of Section 975 of the Dodd-Frank Wall Street Reform and
Consumer Protection Act. If you have received this communication in error,
please destroy all electronic and paper copies and notify the sender
immediately. Mistransmission is not intended to waive confidentiality or
privilege. Morgan Stanley reserves the right, to the extent permitted under
applicable law, to monitor electronic communications. This message is subject
to terms available at the following link:
http://www.morganstanley.com/disclaimers If you cannot access these links,
please notify us by reply message and we will send the contents to you. By
messaging with Morgan Stanley you consent to the foregoing.
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general