Actions
Feature #1724
openChange a prefix of scripts executed from kb-recalc to be printed in log
Start date:
09/01/2011
Due date:
% Done:
0%
Estimated time:
Published in build:
Description
So somebody will easily distinguish where KB scripts are executed
Updated by Pavel Shved about 13 years ago
What do you mean? Could you please give a small sample?
Updated by Evgeny Novikov about 13 years ago
Artificial example:
kb-recalc: TRACE: Execute script 'return 1 if ($model ne '32_1a'); kb-recalc: TRACE: print_debug_debug("I'm passed!");' with model '32_1a', module 'drivers/block/pktcdvd.ko', main 'ldv_main0_sequence_infinite_withcheck_stateful', error trace ... and KB error trace .... kb-recalc: DEBUG: I'm passed!. kb-recalc: DEBUG: Script passed.
I'd like to see:
kb-recalc: TRACE: Execute script 'return 1 if ($model ne '32_1a'); kb-recalc: TRACE: print_debug_debug("I'm passed!");' with model '32_1a', module 'drivers/block/pktcdvd.ko', main 'ldv_main0_sequence_infinite_withcheck_stateful', error trace ... and KB error trace .... kb-recalc-pattern-script: DEBUG: I'm passed!. kb-recalc: DEBUG: Script passed.
Updated by Pavel Shved about 13 years ago
Did you try to use open3_callbacks
from the source:shared/perl/modules/Utils.pm ?
Actions