Windows – Disable Slack logs

loggingslackwindows 10

Similar to this (off-topic) question on SO, I'm wondering how to disable Slack's logging.

Currently, C:\Users\<user>\AppData\Roaming\Slack\logs is taking 271 GB of disk space. Nearly all the files are webapp-T1XC3J1LXXXXX.log files.

Nothing under Preferences looks promising, except maybe Preferences > Advanced > Disable Local Storage. But that seems too drastic a measure to take. Also, a quick Google search didn't yield anything interesting.

I'm asking about Windows, but this isn't a Windows-specific problem (see my link above to another person asking about OSX).

Best Answer

Just got a response from Slack support on the same issue. She said:

Thanks for getting in touch, and I'm sorry for the concern generated with this logs issue — this is a known bug. It was caused by a Slack outage that we experienced a couple of weeks ago.

We'd never seen anything like this before and so I can only apologise that they suddenly started taking up so much space. We've got a bug report filed to improve on this in the future. I can let you know once we've implemented a fix if you like?

In the meantime, if you go to the menu and select Help > Reset App Data, you should see those files disappear. Please note, that this will sign you out of your workspace, so you'll need to log back in.

I just settled for manually deleting the log files for now, and will wait for the fix.

Related Question