root@OPNsense:~ # opnsense-patch e3774ddFound local copy of e3774dd, skipping fetch.1 out of 1 hunks failed while patching opnsense/scripts/systemhealth/queryLog.py
as you noticed the fix was intended for the 20.1 version.21.1 already contains it
try to reset the logs (System: Settings: Logging: Reset log files)
Local (non circular) logsAs of OPNsense 20.7 we will change our default logging method from circular logs to regular files. These files will use the following pattern on disk /var/log/<application>/<application>_[YYYYMMDD].log (one file per day).