I think there is an error in the logrotateCreateConf.sh file
Just enter "${ending}" instead of ".${ending}" on lines 37 and 39. Thanks to this modification, the 'LOG_FILE_ENDINGS=-json.log' setting finds files ending with '-json.log' and not those that are filename extension.