Page 1 of 1

Clear log

Posted: Wed Apr 09, 2008 11:23 pm
by Pk39565
Is there anyways to delete all the logs of the jobs in a project at a time

Posted: Wed Apr 09, 2008 11:27 pm
by hamzaqk
Did you mean purge the last log before running the job again ?

Posted: Wed Apr 09, 2008 11:46 pm
by Pk39565
hamzaqk wrote:Did you mean purge the last log before running the job again ?
actually I have requirement to purge the all logs from a projects since log files impacting on disk space.
mean to say purging log files of jobs involved in project at a single short

Posted: Wed Apr 09, 2008 11:55 pm
by kumar_s
Adminstrator client has project level setting for purge log of jobs.

Posted: Wed Apr 09, 2008 11:57 pm
by kumar_s
Adminstrator client has project level setting for purge log of jobs.

Posted: Wed Apr 09, 2008 11:57 pm
by ray.wurlod
What a very short-sighted requirement! You free up the space taken by the logs, use it for something else, then there's no space left to log anything.

Tell "them" to go buy some more disk.

Certainly purging your logs is good practice, but this does not automatically give back the disk space. Resist! Hang on to the disk space that you clearly need.

If you have to compromise, purge all but the last week or so's worth of log entries and yield up that space (via RESIZE). If a write to a DataStage log encounters a disk full or quota exceeded condition, it is almost certain to end up corrupted, and you don't want that!

Posted: Wed Apr 09, 2008 11:58 pm
by chulett
All that does is set the default for any newly created jobs. Nothing exists to do what you want ootb, someone with knowledge of the internals could write something however.

Posted: Thu Apr 10, 2008 12:05 am
by ray.wurlod
... once you've determined what it is that you DO want (see my earlier post).