We have datastage log auto-purge set at project level from dsadmin. It is set to purge in 5 days.. But when I look at log it contains everything from day-1, so I suspect this auto-purge does not work..
If anyone could give me some pointer where to look to fix this..
DS auto purge not working
Moderators: chulett, rschirm, roy
Only when a job runs does the log get purged. If you only run a job once a month, but its purge is daily, it will only purge when the job runs. There's no "purge" daemon to clean up logs daily - it's the responsibility of the job to maintain its own log.
Setting the project purge setting means that any newly created, copied, or imported jobs will have that setting.
Setting the project purge setting means that any newly created, copied, or imported jobs will have that setting.
Kenneth Bland
Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
And it isn't really set to purge "in 5 days". It's set to keep at most five days in the log, and as Ken notes, will purge anything over 5 days old only after the job runs successfully. That's key to note as well, if a job completes with Warnings or Aborts the auto-purge will not be triggered.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Charter Member
- Posts: 36
- Joined: Thu Jun 10, 2004 11:22 pm