Are there some rules for cleaning .theia/logs folder?

[original thread by ira-gordin-sap]

I’ve never seen such folder. Where is it and what do you have in it?

[ira-gordin-sap]

In my VS Code extension I have export function activate(context: vscode.ExtensionContext). The value of context.logPath on my environment is .theia/logs/20200109T092254/host/.. I use this folder to create my logs files there. “ls .theia/logs/” shows many folders named as timestamps like 20200109T092254. Currently I see that the oldest one is from the time I created my container.

I suppose it should be safe to delete it. I don’t have we have any auto policies to clean it up. Are you asking to introduce such?

[ira-gordin-sap]

Yes. Thank you!:slight_smile:

Please file an issue. I also wonder how VS Code handles it.

[ira-gordin-sap]

I opened here: https://github.com/eclipse-theia/theia/issues/6866