Insert Flag or Marker in Log File?
mikethe3dguy
Posts: 515
Sometimes when trying to troubleshoot a problem in DS, I find myself slogging through the log file, scrolling up and down wasting time trying to find the elusive start of a particular render or something like that. Is there some way to add a custom message line to the log file say, just before I begin a render or at any other time I choose? Would streamline troubleshooting for me.
Maybe someone has written a script or plugin for this, but I haven't been able to find one.
Comments
I just open the log file, type in something like ######################### and save the file. They later when I open the file I can search for that string
A script can do that - e.g.
print( "About to start my render" );
saved as a .dsa file will print to the log (run in the ScriptIDE pane it will print to the status area). However, every line has a timestamp at the beginning so if you know when you were working that alone should get you close.
No that's too simple and direct. I need COMPLEXITY, and a labyrinthine UI !!!!
Well, maybe I can still be of help.
Oh, maybe you want a second marker to mark the end of your activity instead of the beginning. Start over at step 8 and type a different script.
I hope that is complicated enough for you. Hopefully I didn't miss too many necessary steps.
Now you're talkin'! If necessary I'll add in some UN-necessary steps just to salve my OCD.
Good plan!