I have done some changes on the app code and want to see the log of the app after the changes.
The problem is that, even after closing and reopening the browser, or logging out and in in the app, the log keeps adding to an old session. I can’t use that old session because (1) it’s buried down in the log and I would always need to search for it and (2) it stopped logging and it says Further output not stored. To increase your logging limit, please contact email@example.com.
I have tried and it did start a new log session.
But then I tried again, and it keeps logging to the same session. Closing the incognito window, creating a new one and going to the same app does not create a new session.
You mean the IDE in Chrome and the running app on Firefox?
I haven’t tried, but at this point I’m afraid it will do a new session only once, just like it does a new session only once with the incognito window (see Jay’s suggestion).
Waiting for a solution, I have added a Log table and I add to that table when I need to log something. Then I download the Log table to csv and browse it with Excel. It ain’t pretty (and I’m not marking this a solution, simply because it is not), but it allows me to work for now.
That’s bizarre. Cookies are supposed to be cleared when you close all the incognito windows, which should clear the session. When I run a test with a simple app that just prints something to the log, I’m seeing a new session when I close all incognito windows and then open a new incognito window.
I’ve seen similar things happen when there were other incognito windows/tabs open, as if they all shared some global state. Shutting down all of the browser’s incognito windows was required to clear the condition.
That is, the data were cleared not when the tab closed, but when the browser as a whole closed.