added option for disabling chat log saving