[sr-dev] git:5.4:5d30b911: core: set MAX_WARNING_LEN to 1024