We can use the gc tag with the -Xlog option to inform the JVM to only log gc tagged items at the info level. As you will recall, this is similar to using -XX:+PrintGC. With both options, the JVM will log one line for each garbage collection operation.
It is important to note that the gc tag was not intended to be used on its own; rather, it is recommended that it be used in conjunction with other tags.