Hi All,
I am writing printf statements in a c++ library and it is coming on the director log during successful execution.
However if i raise a unix signal say "SIGKILL" for example to abort the datastage job after these printf statements, I am unable to see my printf logs on the director.
Hence I am not able to display debugging information to the end users.
Help would be very much appreciated.
Rgds Anu
Logs from C++ library coming only sometimes.
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Check to see whether a file has been written into the &PH& directory. Or try resetting the job in Director, to see whether a "from previous run..." event picks up the output from your printf() calls.
Prefer SIGTERM to SIGKILL at all times. It allows a grace time for buffered I/O to complete and various other things to complete.
Prefer SIGTERM to SIGKILL at all times. It allows a grace time for buffered I/O to complete and various other things to complete.
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.