cancel
Showing results for 
Search instead for 
Did you mean: 

OOTB cronjobLogCleanupCronjob does not remove logFiles

former_member874928
Discoverer
0 Kudos

Hello Hybris experts !

I'm facing an issue with the OOTB cronjobLogCleanupCronjob, which does not remove logfile. The issue only happens in higher environments so I cannot just use the debugger, and the logs are very few..

The issue is that after the job is successfuly run, the logfiles are not removed, even though the configuration says they should be.

Cronjob's logs configuration :

Cronjob's logFiles after I run cronjobLogCleanupCronjob :

As you can see, it should be just one Logfile kept, but we have lots.

Note : This issue does not reproduce on my local, only on higher environments.

What can be done in order to solve this issue ?

View Entire Topic
saood
Participant
0 Kudos

Hi Alex,

For jobLog it's not there.

You can maintain one cronJob of type cleanUpLogsJobPerformable

Please refer the below article:

https://www.sap.com/cxworks/article/2589633933/data_maintenance_and_cleanup#DataMaintenanceandCleanu...

former_member874928
Discoverer
0 Kudos

I already followed instructions from the above article when I enabled the OOTB job. Still not working.