Can I find logs cleared by user from director? if yes how?
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 1735
- Joined: Thu Mar 01, 2007 5:44 am
- Location: Troy, MI
Can I find logs cleared by user from director? if yes how?
Hi,
Can I find logs cleared by another user from director?
if yes how can i get that?
Regards,
Can I find logs cleared by another user from director?
if yes how can i get that?
Regards,
Priyadarshi Kunal
Genius may have its limitations, but stupidity is not thus handicapped.
Genius may have its limitations, but stupidity is not thus handicapped.
-
- Participant
- Posts: 334
- Joined: Fri Dec 01, 2006 5:17 am
- Location: Texas
I am not sure, that whether you can find the logs in Datastage Director..
But you can see the logs in unix.
Use following commands..
. $DSHOME/dsenv
dsjob -logsum -type INFO -max (number of logs you want to see) PROJECT_NAME JOB_NAME
Now inorder to get last 3 runs use this command
dsjob -logsum -type STARTED -max 6 PROJECT_NAME JOB_NAME
from that take the difference(from the first column) and use that number in above command.
But you can see the logs in unix.
Use following commands..
. $DSHOME/dsenv
dsjob -logsum -type INFO -max (number of logs you want to see) PROJECT_NAME JOB_NAME
Now inorder to get last 3 runs use this command
dsjob -logsum -type STARTED -max 6 PROJECT_NAME JOB_NAME
from that take the difference(from the first column) and use that number in above command.
-
- Premium Member
- Posts: 1735
- Joined: Thu Mar 01, 2007 5:44 am
- Location: Troy, MI
I tried using DSGetLogEntry(JobHandle, DSJ.LOGANY)chulett wrote:I suppose you could find that, yes, but not who cleared it. Use the standard 'DSGet' functions for the logs and search for 'Log cleared by user' as one of the events. ...
but I am getting a warning message
Cannot get log event with id '99'
and retrurn code is (-4)
I am unable to find why?
Priyadarshi Kunal
Genius may have its limitations, but stupidity is not thus handicapped.
Genius may have its limitations, but stupidity is not thus handicapped.
-
- Premium Member
- Posts: 1735
- Joined: Thu Mar 01, 2007 5:44 am
- Location: Troy, MI
I tried using DSGetLogEntry(JobHandle, DSJ.LOGANY)chulett wrote:I suppose you could find that, yes, but not who cleared it. Use the standard 'DSGet' functions for the logs and search for 'Log cleared by user' as one of the events. ...
but I am getting a warning message
Cannot get log event with id '99'
and retrurn code is (-4)
I am unable to find why?
Priyadarshi Kunal
Genius may have its limitations, but stupidity is not thus handicapped.
Genius may have its limitations, but stupidity is not thus handicapped.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
I read the question differently. I understand that the question is whether it's possible to recover log events that have been cleared.
The answer to that question is NO.
The answer to that question is NO.
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.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: