command to stop logs generation in UNIX server?
Moderators: chulett, rschirm, roy
-
dashamukhi
- Participant
- Posts: 6
- Joined: Thu Aug 21, 2008 1:19 am
- Location: Chennai
command to stop logs generation in UNIX server?
Hi,
When we run a job, logs will be generated can view in Director.
My requirement is I don't want these logs to be generted in backend in Unix server. Please give me the command in UNIX to stop logs generation in UNIX server.
Thanks in advance,
When we run a job, logs will be generated can view in Director.
My requirement is I don't want these logs to be generted in backend in Unix server. Please give me the command in UNIX to stop logs generation in UNIX server.
Thanks in advance,
Best Regards,
Prashanth
Prashanth
-
dashamukhi
- Participant
- Posts: 6
- Joined: Thu Aug 21, 2008 1:19 am
- Location: Chennai
Thanks
Thanks arnd,
I will try with this. But it suppresses the logs. But i don't want any logs to be created at all. Any way thanks for the immediate response.
I will try with this. But it suppresses the logs. But i don't want any logs to be created at all. Any way thanks for the immediate response.
Best Regards,
Prashanth
Prashanth
-
ray.wurlod
- Participant
- Posts: 54595
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
You will never prevent the logs from being created. Jobs won't run unless the log (a database table in the local Repository) can be opened for writing. And some entries just can't be suppressed. Let me ask again why you wish to do this.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
dashamukhi
- Participant
- Posts: 6
- Joined: Thu Aug 21, 2008 1:19 am
- Location: Chennai
-
dashamukhi
- Participant
- Posts: 6
- Joined: Thu Aug 21, 2008 1:19 am
- Location: Chennai
logs in Unix server
Dear Ray,
Can we clear the logs atleast for some limited runs to save the space on server?
Can anyone give me the UNIX command for this?
Thanks in advance
Can we clear the logs atleast for some limited runs to save the space on server?
Can anyone give me the UNIX command for this?
Thanks in advance
Best Regards,
Prashanth
Prashanth
-
ray.wurlod
- Participant
- Posts: 54595
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
There is no UNIX command. Job logs are database tables.
Purging a job log involves not only deleting records from the table but also updating a number of control records.
Set auto-purge defaults for the project using the Administrator client, you can override these defaults for particular jobs.
Purging a job log involves not only deleting records from the table but also updating a number of control records.
Set auto-purge defaults for the project using the Administrator client, you can override these defaults for particular jobs.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Set the Auto Purge that suits each job - X number of runs or X number of days. Do this from the Director. As noted, the Administrator can set the defaults for the Project but that only affects jobs created after the default is in place.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
</a>