Opened 5 years ago

Closed 5 years ago

#2019 closed defect (fixed)

progress should not be logged to file

Reported by: Dimitar Misev Owned by: Dimitar Misev
Priority: major Milestone: 9.8
Component: wcst_import Version: 9.7
Keywords: Cc: Bang Pham Huu
Complexity: Medium

Description

When wcst_import output is redirected to a file, it should not log progress information:

^MProgress: [------------------------------] 0/4 0.00% ^MProgress: [------------------------------] 0/4 0.00% ^MProgress: [------------------------------] 0/4 0.00% ^MProgress: [---------------
---------------] 0/4 0.00% ^MProgress: [------------------------------] 0/4 0.00% ^MProgress: [------------------------------] 0/4 0.00% ^MProgress: [------------------------------] 0/4 0.00% 
^MProgress: [------------------------------] 0/4 0.00% ^MProgress: [------------------------------] 0/4 0.00% ^MProgress: [------------------------------] 0/4 0.00% ^MProgress: [---------------
---------------] 0/4 0.00% ^MProgress: [------------------------------] 0/4 0.00% ^MProgress: [------------------------------] 0/4 0.00% ^MProgress: [------------------------------] 0/4 0.00% 
^MProgress: [------------------------------] 0/4 0.00% ^MProgress: [------------------------------] 0/4 0.00% ^MProgress: [------------------------------] 0/4 0.00% ^MProgress: [---------------
---------------] 0/4 0.00% ^MProgress: [------------------------------] 0/4 0.00% ^MProgress: [------------------------------] 0/4 0.00% ^MProgress: [------------------------------] 0/4 0.00% 
^MProgress: [------------------------------] 0/4 0.00% ^MProgress: [------------------------------] 0/4 0.00% ^MProgress: [------------------------------] 0/4 0.00% ^MProgress: [---------------
---------------] 0/4 0.00% ^MProgress: [------------------------------] 0/4 0.00% ^MProgress: [------------------------------] 0/4 0.00% ^MProgress: [------------------------------] 0/4 0.00% 
^MProgress: [------------------------------] 0/4 0.00% ^MProgress: [------------------------------] 0/4 0.00% ^MProgress: [------------------------------] 0/4 0.00% ^MProgress: [---------------
---------------] 0/4 0.00% ^MProgress: [------------------------------] 0/4 0.00% ^MProgress: [------------------------------] 0/4 0.00% ^MProgress: [------------------------------] 0/4 0.00% 
...

Also the color escape codes should not be logged:

ESC[1mRecipe: ESC[0;0msentinel2

Change History (2)

comment:1 by Dimitar Misev, 5 years ago

Owner: set to Dimitar Misev
Status: newaccepted

comment:2 by Dimitar Misev, 5 years ago

Resolution: fixed
Status: acceptedclosed
Note: See TracTickets for help on using tickets.