The setting says "show log window", not "open log window when session starts". So it perfectly correct to uncheck it when log window is closed.
This is not intuitive behavior and I can't remember
any other relevant software that changes persistent
settings just because a window is closed which is
not the configuration window itself.