This isn't an answer, but the text is too long to post as a comment!
Your question is a bit confusing. Is your intention to "block logging IPS" (as you say in your first sentence), or is it to block IP addresses?
If you're trying to block IP addresses, are you including the entire server (i.e. using a firewall), for a web site (i.e. IIS), for email (e.g. Exchange), or some combination of those?
In your description of the text file you have some data surrounded by quotes, and some not within quotes. The example shows the string "LoggingServerAddresses" with quotes, and some IPv4 addresses with quotes. Yet you say that there are "IPS in LoggingServerAddresses". Does this mean that "LoggingServerAddresses" is a literal string of characters, or with there be IP addresses where you currently show the string "LoggingServerAddresses"? Or are the fields in the text file in the format "Label: Value" and each pair is separated from the next by a comma?
Is the text file in the format of a Comma Separated Values file? If it is, are there more fields that follow the trailing comma in your example?