fix #3791: have logs separated from caches