What is the meaning of -logy?

A branch of learning; a study of a particular subject.

Speech, or a way of speaking, a narrative, logical discourse.

Source: wiktionary.org