Hi,
I want to archive my Logs Automaticaly in some directory.
As far as i know,we have two options to maintain Logs :
(1) Auto purge logs over SOME Days.So it will maintain the Log files for job run upto those many runs and after that duration the logs will be purged.
(2) Take a print of the logs and save them to Disk.
I want that the Logs should be archive before purge automatically.
Thanks in Advance!!!
Waiting for ur Reply
Auto Archving of Logs
Moderators: chulett, rschirm, roy
Auto Archving of Logs
Arun Verma
Unfortunately, there is no mechanism for you to add a user-command (such as taking an archive) to the autopurge mechanism. You would need to do something like set your auto-purge to 3 days and run a log backup process of your choice every 2 days (and remove duplicates).
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
-
- Charter Member
- Posts: 560
- Joined: Wed Jul 13, 2005 5:36 am
- Location: Ohio
Re: Auto Archving of Logs
In datastage Director, click the option which enables the director to maintain log for last 3(the number u want) days. and then when you are writing the log file, just create a new one everytime and dump the log.theverma wrote:Hi,
I want to archive my Logs Automaticaly in some directory.
As far as i know,we have two options to maintain Logs :
(1) Auto purge logs over SOME Days.So it will maintain the Log files for job run upto those many runs and after that duration the logs will be purged.
(2) Take a print of the logs and save them to Disk.
I want that the Logs should be archive before purge automatically.
Thanks in Advance!!!
Waiting for ur Reply
-
- Charter Member
- Posts: 560
- Joined: Wed Jul 13, 2005 5:36 am
- Location: Ohio
I just told you how to get 3 days log into your files. (something what arndw had already said).theverma wrote:Rohit Can u please tell me how to create the log file other than what Director maintains??
What kind of log files you want to generate other than director? you may want to run a routine which will store the information inside director to a text file. Search on this forum for it.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: