log file ... wonderful but

everytime we open a scene in daz it lists all the things it does and then when we close that scene it sums it all up 
So Daz knows how to start a log file because sometime in the begining there was no log file
--
Code 
if log line equals = closing scene file>retrieve scene name>rename logfile to scenename.logfile>move to save folder. 
Then when I open my next scene daz says OH new scene, I'll create a new log file and use it until  log line =closing scene file and I'll run the renaming etc sub routinue
This will supply a logfile that matchs every scene file. 
And opening an existing scene file would open the existing log file .. append the new data and then on closing save it again. 

Comments

  • Richard HaseltineRichard Haseltine Posts: 100,941

    So, are you requesting a Scene-specific log? What is the aim of that?

  • alan bard newcomeralan bard newcomer Posts: 2,199
    edited October 20

    Richard Haseltine said:

    So, are you requesting a Scene-specific log? What is the aim of that?

    my current log file has 72,000 lines in it... scrolling gets to be a pita
    plus obviously I would guess it get truncatated at some point it time. 
    ---
    So having a log file attached to each scene would keep the info on it intact and short.  
    And would theoretically list all the assets used in the scene file?

    Post edited by alan bard newcomer on
  • TheKDTheKD Posts: 2,691
    edited October 23

    Fisrt thing I do when I open daz is open the log file ctrl+A backspace, then save. Makes troubleshooting a lot easier when I need it lol. A cool option daz could consider is iterative logs, create a new log for each session, maybe use time and date appended to differintiate, not sure how difficult that would be to do though.

    Post edited by TheKD on
  • TheKD said:

    Fisrt thing I do when I open daz is open the log file ctrl+A backspace, then save. Makes troubleshooting a lot easier when I need it lol. A cool option daz could consider is iterative logs, create a new log for each session, maybe use time and date appended to differintiate, not sure how difficult that would be to do though.

    it should be easy as it creates new entries in the logfile with each scenefile ... and it's all timestamped. 
    So it's the same code that creates the logfile when the program is first installed ..
    at User Close Scene prompt > copy scene name>rename logfile to scenename.txt >close. 
    The with the next scene there's no logfile so it starts a new one until it's closed an it runs the close scene and rename subroutine.  

Sign In or Register to comment.