Hi there,
I am trying to change the timestamp in the logging of a TCL-program (
I have figured out how to deal with the time and I have found the piece of code where the log is written to the logfile. But there is a fly in the ointment:
The piece of code in question lives in a tcl-script (let's call it project.tcl) that has been produced automatically by the original script (woz.tcl) and that I do not want to change manually (because if I do, I would have to do the manual change every time the project changes).
I have gone through a lot of source code of woz.tcl as well as the corresponding sources both by scrolling over the logic and by searching for keywords like "log", ".tcl" and content of project.tcl. My expectation was to find some piece of code in woz.tcl that says something like "create a new file project.tcl and write this and that function and that text in there". I could not find the code where that project.tcl is created. :/
So my question is: Is there anything I should know in general about creating .tcl-files by a .tcl-script? Are there any keywords that could occur? Do you have any other suggestions how I could find the piece of code or whatever magic could be involved?
Thanks, Ines
I am trying to change the timestamp in the logging of a TCL-program (
I have figured out how to deal with the time and I have found the piece of code where the log is written to the logfile. But there is a fly in the ointment:
The piece of code in question lives in a tcl-script (let's call it project.tcl) that has been produced automatically by the original script (woz.tcl) and that I do not want to change manually (because if I do, I would have to do the manual change every time the project changes).
I have gone through a lot of source code of woz.tcl as well as the corresponding sources both by scrolling over the logic and by searching for keywords like "log", ".tcl" and content of project.tcl. My expectation was to find some piece of code in woz.tcl that says something like "create a new file project.tcl and write this and that function and that text in there". I could not find the code where that project.tcl is created. :/
So my question is: Is there anything I should know in general about creating .tcl-files by a .tcl-script? Are there any keywords that could occur? Do you have any other suggestions how I could find the piece of code or whatever magic could be involved?
Thanks, Ines