You're right Geert (of course! ;-))

xdmp:document-get($conf:marklogic-error-log)

this won't work anymore due to the size, but as you're rightly saying
the log file is not in the database, so no inherent need to be able to
return it.

my bad, thanks,
Jakob.



On Thu, Nov 17, 2011 at 14:03, Geert Josten <[email protected]> wrote:
> Hi Jakob,
>
> The log file isn't within the database, it is on the filesystem. It can
> grow way bigger than 16Mb, I have had ones of over 200 Mb. You just can't
> use xdmp:document-get anymore to read them.
>
> Or are you saying that you are using something in the app-services that
> tries to do that?
>
> Kind regards,
> Geert
>
> -----Oorspronkelijk bericht-----
> Van: [email protected]
> [mailto:[email protected]] Namens Jakob Fix
> Verzonden: donderdag 17 november 2011 13:57
> Aan: General MarkLogic Developer Discussion
> Onderwerp: Re: [MarkLogic Dev General] log file too big?!
>
> Hi Geert,
>
> yes or monthly or on a specificed day, or never. I'm just saying that
> the log mechanism should make sure that log files don't get bigger
> than what the database can handle and rotate earlier if it reaches
> that limit.  I'm tail-ing this file, but MarkLogic won't return this
> file anymore (whether it makes sense to ask for such a big file is, of
> course, another question).
>
> Thanks,
> Jakob.
>
>
>
> On Thu, Nov 17, 2011 at 13:46, Geert Josten <[email protected]> wrote:
>> Hi Jakob,
>>
>> Log files *are* rotated.. daily.. :)
>>
>> I am guessing it is a hard-coded limit, all 'in memory' related
> properties
>> (see database configuration) seem unrelated..
>>
>> Kind regards,
>> Geert
>>
>> -----Oorspronkelijk bericht-----
>> Van: [email protected]
>> [mailto:[email protected]] Namens Jakob Fix
>> Verzonden: donderdag 17 november 2011 13:17
>> Aan: General Mark Logic Developer Discussion
>> Onderwerp: [MarkLogic Dev General] log file too big?!
>>
>> Hi,
>>
>> I just now got this error message which is a new one for me and, it
>> appears, for Google too:
>>
>> 2011-11-17 13:07:24.742 Notice: eoi-http-admin: XDMP-TOOBIG:
>> xdmp:document-get("Data/Logs/ErrorLog.txt") -- Document size exceeds
>> text document size limit of 16 megabytes
>> It is true that I currently have the file log level set to "finest".
>> Is this a hard-coded limit for text documents, or can that be tweaked?
>>
>> Also, shouldn't the log manager deal with this intelligently by
>> rotating files or so?
>>
>> 4.2-6.1 on Windows.
>>
>> cheers,
>> Jakob.
>> _______________________________________________
>> General mailing list
>> [email protected]
>> http://developer.marklogic.com/mailman/listinfo/general
>> _______________________________________________
>> General mailing list
>> [email protected]
>> http://developer.marklogic.com/mailman/listinfo/general
>>
> _______________________________________________
> General mailing list
> [email protected]
> http://developer.marklogic.com/mailman/listinfo/general
> _______________________________________________
> General mailing list
> [email protected]
> http://developer.marklogic.com/mailman/listinfo/general
>
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to