cloudera / cloudera-scripts-for-log4j

Scripts for addressing log4j zero day security issue
Apache License 2.0
86 stars 68 forks source link

CDPD-32469 Script should log with timestamp #8

Closed horadla23 closed 2 years ago

lhoss commented 2 years ago

IMO a good idea :+1: Personally I'ld even create a log (log_info) function, so that any change (for ex. in the timestamp format) can be done in one place

horadla23 commented 2 years ago

IMO a good idea +1 Personally I'ld even create a log (log_info) function, so that any change (for ex. in the timestamp format) can be done in one place

I think there is a log_info in run_log4j_patcher script, although there are still lot of individual echo commands and I do not want to refactor all of these scripts