Hi Javier, we used to keep logs in control with log4j rotations but now we 
only use logrotate as it has proven better results.  

To use logrotate you should disable log4j rotations
> https://github.com/CICBA/DSpace/blob/master/dspace/config/log4j.properties

and enable a new logrotate profiles in /etc/logrotate.d/
> https://github.com/CICBA/DSpace/blob/master/dspace/config/logrotate.conf

regards
Ariel
El jueves, 25 de agosto de 2016, 3:43:41 (UTC-3), Shaun Donovan escribió:
>
> Hi Javier.
>
> I have found that keeping all of the logs is not required except for the 
> actual dspace.log.xxx files, which can be used to fully re-create your 
> statistics. The cocoon, checker and handle-plugin logs are not necessary to 
> keep.
>
> As such, I wrote a simple perl script to delete any of these log files 
> older that three months, and to bzip the dspace logs. I run this script on 
> a daily basis from cron. Please let me know if you would like a copy of 
> this script.
>
> On 24/08/2016 18:25, Javier Távara wrote:
>
> Thanks Hilton. 
> Will this affect the statistics?
>
>
> El miércoles, 24 de agosto de 2016, 2:38:30 (UTC-5), Hilton Gibson 
> escribió: 
>>
>> Hi J,
>>
>> Perhaps this will help: 
>> http://wiki.lib.sun.ac.za/index.php/SUNScholar/Optimisations/Logs
>>
>> Cheers
>>
>> hg
>>
>> *Hilton Gibson*
>> Stellenbosch University Library
>> * <http://orcid.org/0000-0002-2992-208X>http://orcid.org/0000-0002 
>> <http://orcid.org/0000-0002>-2992-208X*
>>
>>
>> On 24 August 2016 at 07:22, Javier Távara <[email protected]> wrote:
>>
>>> Hello. 
>>> I want to know how to make a better management of DSpace, Cocoon and 
>>> Tomcat logs, and which/why are those necessary to keep. (statistics?)
>>> Last time I figured out there were 80GB in logs because of Cocoon.
>>> I have DSpace 5.5 installed.
>>>
>>> Thank you very much.
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "DSpace Technical Support" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>> Visit this group at https://groups.google.com/group/dspace-tech.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> -- 
> You received this message because you are subscribed to the Google Groups 
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] <javascript:>.
> To post to this group, send email to [email protected] 
> <javascript:>.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>
>
> -- 
>
> *Shaun donovan* managing director 
>
> <javascript:>*[email protected] <javascript:>* / 
>
> *Teqcle Information Technologies (Pty) Ltd* 
> Mobile: +27 83 388 4447 / Office: +27 12 665 2723 / Fax: +27 86 637 5495 
> Unit 21; Cambridge Office Park; 5 Bauhinia Street; Highveld Techno Park; 
> Centurion 
> *www.teqcle.co.za* <http://www.teqcle.co.za/>
>
>
> The views expressed in this email including attachments are, unless 
> otherwise stated, those of the author. The information in this email is 
> confidential and is intended solely for the addressee. Access to this email 
> by anyone else is unauthorised. If you are not the intended recipient, any 
> disclosure, copying, distribution or any action taken or omitted in 
> reliance on this, is prohibited and may be unlawful. Whilst all reasonable 
> steps are taken to ensure the accuracy and integrity of information and 
> data transmitted electronically and to preserve the confidentiality 
> thereof, no liability or responsibility whatsoever is accepted if 
> information or data is, for whatever reason, corrupted or does not reach 
> its intended destination.
>
>
> “If you are satisfied with our service, please search for Teqcle on 
> Google and leave a review”
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to