Why would you let log file grow to several GB? What happened to configuring
log file rotations? :)

Please split the log file into several manageable sizes. Something like
this: split -b100m -a5 sogo.log
(Split splits the files based upon your size specification whether based
upon line or bytes. It then adds a suffix to these files to keep them in
order)

and do the usual grep on them - grep "string1|string2|string3" file_name.


On Tue, Feb 14, 2023 at 12:21 PM HYVERNAT Philippe <[email protected]> wrote:

> Ok i activate :
>
> MySQL4DebugEnabled = YES;
>
>  SOGoEASDebugEnabled = YES;
>
>
> Restart the service and log are written.
>
> like my precedent mail we have many errors like  :
>
> Feb 14 09:38:35 sogod [54518]: <0x0x804807118[SOGoCache]> an error
> occurred when caching value for key '/Users/*user*@
> ehpad-avs.fr/Calendar/personal': "SERVER HAS FAILED AND IS DISABLED UNTIL
> TIMED RETRY"
>
>
>
> Do you know how can i filter my log ?
>
> With grep "warning" and grep "error" ?  the log file wait several GB
>
>
> Le 14/02/2023 à 07:24, Odhiambo Washington ([email protected]) a écrit :
>
>
>
> On Mon, Feb 13, 2023 at 7:40 PM HYVERNAT Philippe <[email protected]> wrote:
>
>> Thanks a lot for your answer :
>>
>> Here is my configuration. I add EAS options. Nothing was set
>>
>> The problem is that the issue is very difficult to make and users doesn't
>> know when it really appear.
>>
>> I check the debug log for EAS and see
>>
>
> The Debug log for EAS and MySQL !
> Those two must reveal something.
>
> --
> Best regards,
> Odhiambo WASHINGTON,
> Nairobi,KE
> +254 7 3200 0004/+254 7 2274 3223
> "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)
>
>

-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)

Reply via email to