Logrotate configuration

One Star

Logrotate configuration

Hello all,
I was wondering if one could configure logrotate to get rid of some zip files laying around in tmp folders, without hurting functionality of TIS.
Example:
# pwd
/opt/talend/tmp
# du -sm cmdline/*/*
1 cmdline/exports/Input
79 cmdline/exports/task_1
16 cmdline/exports/task_10
120 cmdline/exports/task_11
75 cmdline/exports/task_2
51 cmdline/exports/task_3
27 cmdline/exports/task_4
50 cmdline/exports/task_5
324 cmdline/exports/task_6
33 cmdline/exports/task_7
238 cmdline/exports/task_9
# ls cmdline/exports/task_9
1317303110125_task_9.zip 1317379245957_task_9.zip 1317380169562_task_9.zip 1317714849758_task_9.zip 1317725105337_task_9.zip 1317725465476_task_9.zip 1317728166377_task_9.zip 1317733025205_task_9.zip
1317307480289_task_9.zip 1317379628134_task_9.zip 1317648819895_task_9.zip 1317724745724_task_9.zip 1317725285618_task_9.zip 1317727808610_task_9.zip 1317728705270_task_9.zip 1317733206948_task_9.zip

I am assuming these can be cleaned up regularly to save disk space? Same for stuff in jobserver/TalendJobServersFiles/archiveLogs?
Anyone has some working configuration and advices?
Thanks a lot for any feedback.
fred
Employee

Re: Logrotate configuration

Hi Fred,
You can set up the automatic cleaning of logs by editing the TalendJobServer.properties file in the configuration folder of the Job Server.
One Star

Re: Logrotate configuration

Perfect, reduced the actual time for cleaning to 15 days. Thanks a lot Smiley Happy

Calling Talend Open Studio Users

The first 100 community members completing the Open Studio survey win a $10 gift voucher.

Start the survey

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Agile Data lakes & Analytics

Accelerate your data lake projects with an agile approach

Watch