Fix #2882 - Clear offline log through cache object

Go through cache object instead of directly to cgData so change
notifications can be made

Fixes #2882