Thread Previous • Date Previous • Date Next • Thread Next |
DeeJay пишет:
bzrw writes log to C:\Program Files\Bazaar\bzrw.exe.logYes, I know, this happens when some code tries to write to stdout/stderr. Can you tell me when this happens?I've got another instance - Using BE, Open a Location with an old repository. The 'deprecated' warning goes to <pathto_bzr>bzrw.exe.log, which then contains - Format <RepositoryFormatKnit1> for file:///F:/bzrtempco/broken/.bzr/ is deprecated - please use 'bzr upgrade' to get better performance
Okay.So... We need to improve bzrw.py script by override trace.py logging behavior and redirect note/info messages to MemoryHandler instead of StreamHandler (stderr) and hope that everything in bzrlib uses trace.* methods instead of direct writing to stderr.
Ian, do you think we need to add special status/debug console in Bazaar Explorer to (optionally) show these messages?
It's fairly easy detect that we are working with bzrw (by check sys.frozen == 'windows_exe'), so maybe Bazaar Explorer should change logging settings of trace.py on start? Ditto for QBzr dialogs?
Thread Previous • Date Previous • Date Next • Thread Next |