We have some logfiles that will exceed the 1GB for a specific day in our development environment. Can we set a size limit, for example 250MB, so that the logfile will continue logging within a newly created log file when the size limit is reached. This will generate in our case 4 logfiles for a specific day, instead of 1 huge logfile..
Asked
Active
Viewed 45 times
0
-
Please provide more information about the log files. Are you referring to the built-in logging via `xdmp:log`, or do you have your own logging system? If the latter, provide examples with explanations. – wst Jan 18 '19 at 16:27
-
we are using the xdmp:log statements to write log information. – Gerben van Schoonhoven Jan 21 '19 at 09:14
1 Answers
2
I recommend reading this section in the Admin guide about Log Files:
https://docs.marklogic.com/guide/admin/logfiles
To sum up: you don't have much control over the log files written to disk, but you might be able to tap into the System Log to which MarkLogic also sends log messages.
HTH!

grtjn
- 20,254
- 1
- 24
- 35