Error executing logfile maintenance:org.sqlite.SQLiteException: [SQLITE_CORRUPT] The database disk image is malformed (database disk image is malformed)

Hi,
Thank you sharing your solution.
Just a clarification - I deleted the "system_logs.idb" and then restarted the gateway.
After those two steps, the gateway logs started to appear as normal.
Cheers.