Log files from NX journals ?
Log files from NX journals ?
(OP)
I am running a journal created by a colleague who has left the company.
The Journal replaces drawing borders. On some drawings the journal will crash due to it selecting something "illegal".
The NX logfile shows nothing of what the Journal does.
is there a way to get a logfile ?
Regards,
Tomas
The Journal replaces drawing borders. On some drawings the journal will crash due to it selecting something "illegal".
The NX logfile shows nothing of what the Journal does.
is there a way to get a logfile ?
Regards,
Tomas





RE: Log files from NX journals ?
CODE
'create a reference to the log file Dim lg As LogFile = theSession.LogFile 'write something to the log file lg.WriteLine("Toost's journal")The following journal writes much of what it is doing to the NX log file:
http://nxjournaling.com/content/export-drawing-dxf...
look for the "lg.WriteLine" calls and compare them to what you see in the NX log file after execution.
www.nxjournaling.com
RE: Log files from NX journals ?
I will try that .
/ Tomas
RE: Log files from NX journals ?
Yes adding logging/console output is the classic way of debugging programs. But you do not get a error line number and stack trace when the journal fails to execute?