Actions
Optimization #3208
open
VJ
JI
unnecessary output on 'update-sources'
Optimization #3208:
unnecessary output on 'update-sources'
Description
Got:
./bin/suricata-update update-sources 1/10/2019 -- 14:52:37 - <Warning> -- No suricata application binary found on path. 1/10/2019 -- 14:52:37 - <Info> -- Using Suricata configuration /etc/suricata/suricata.yaml 1/10/2019 -- 14:52:37 - <Info> -- Using /etc/suricata/rules for Suricata provided rules. 1/10/2019 -- 14:52:37 - <Info> -- Using default Suricata version of 4.0.0 1/10/2019 -- 14:52:37 - <Info> -- Downloading https://www.openinfosecfoundation.org/rules/index.yaml 1/10/2019 -- 14:52:39 - <Info> -- Saved /var/lib/suricata/update/cache/index.yaml
Expected:
./bin/suricata-update update-sources 1/10/2019 -- 14:52:37 - <Info> -- Downloading https://www.openinfosecfoundation.org/rules/index.yaml 1/10/2019 -- 14:52:39 - <Info> -- Saved /var/lib/suricata/update/cache/index.yaml
Since updating the sources does not depend on suricata config, local rules or suricata version, I think all this output should omitted.
Actions