Change log definition to fix crash in CI