I am guessing you meant lower-case g instead of uppercase G?
-G Return the log file of the last upgrade. Since
upgrades run without network connectivity and user
interaction there is no direct way to observe it
other than an attached console or monitor which
can still miss important context.
-g Return the log file of the last update. Update
logs are stored persistently when the update or
upgrade procedure requested a reboot. It is also
stored when errors have been encountered. This
can help with diagnosing update problems, package
conflicts and package manager bugs.
lowercase g is indeed only from when the upgrade succeeded so not useful to debug further.
-G Return the log file of the last upgrade. Since
upgrades run without network connectivity and user
interaction there is no direct way to observe it
other than an attached console or monitor which
can still miss important context.
-g Return the log file of the last update. Update
logs are stored persistently when the update or
upgrade procedure requested a reboot. It is also
stored when errors have been encountered. This
can help with diagnosing update problems, package
conflicts and package manager bugs.
lowercase g is indeed only from when the upgrade succeeded so not useful to debug further.
"