Karen Tung wrote: > Dave Miner wrote: >>>> Question: Should all print statements now go to dc_log? Or >>>> only select ones? >>>> >>> I carefully examined all the functions in DC_checkpoint.py. All the >>> ones >>> that are called after the DC log is initialized will go to the >>> dc_log. All the >>> ones that are called before the DC log is initialized just go to the >>> screen. >>> The DC logging can't be setup until the work area is setup. So, all >>> the functions >>> that involve creating, checking the work area and stuff won't be able to >>> do logging to the DC log. >> Could you log to a different location temporarily, then relocate the >> log once the work area is set up and then log to it from then on? >> >> Dave >> > Hi Dave, > > Yes, that can be done. I didn't choose to do that initially because all > the errors that will occur are mostly > fatal errors, because the manifest doesn't validate, command line > errors...etc.. So, I thought it will > be useful to have them display on the screen so people can see it > immediately.
Don't forget about cron job scenarios, though. The percentage of runs that will be in interactive sessions will not be that large. > Since this is not crucial for the 2008.11 release, I would prefer to > file a bug to get this fixed post-2008.11 code freeze. > That way, I don't block others from the DC team from integrating in the > next couple of days. > Is that OK? > Yes, that's acceptable. Dave
