Page 1 of 1

Clearing log not working

Posted: August 19th, 2021, 6:10 pm
by death.crafter
Log isn't cleared when Clear button is used. Even tried restarting Rainmeter.

Click to animate:
ezgif-6-1d5a2081b993.gif
Oh and Rainmeter info:

Rainmeter 4.4.0.3508 beta (64-bit)
Language: English (1033)
Build time: 2021-07-27 14:51:31
Windows 10 Home Single Language 2009 64-bit (build 22000) - English (1033)
Path: C:\Program Files\Rainmeter\
SkinPath: C:\Users\sahoo\OneDrive\Documents\Rainmeter\Skins\
SettingsPath: C:\Users\sahoo\AppData\Roaming\Rainmeter\
IniFile: C:\Users\sahoo\AppData\Roaming\Rainmeter\Rainmeter.ini

Re: Clearing log not working

Posted: August 19th, 2021, 6:30 pm
by eclectic-tech
The 'Clear' button clears the current content in the log, but see the note in the manual:
"When opened, the list displays the last 20 messages logged by Rainmeter."

So when you 'Close' the current log session, the last 20 messages will re-appear when you 'Open log' from the Manage dialog.

Re: Clearing log not working

Posted: August 19th, 2021, 6:43 pm
by jsmorley
eclectic-tech wrote: August 19th, 2021, 6:30 pm The 'Clear' button clears the current content in the log, but see the note in the manual:
"When opened, the list displays the last 20 messages logged by Rainmeter."

So when you 'Close' the current log session, the last 20 messages will re-appear when you 'Open log' from the Manage dialog.
Right. What "Clear" does is clear the log "dialog". The idea being that you want to clearly be able to see "new" entries as they happen. It's useful as a "debugging" tool, as you can clear the dialog, refresh a skin, and anything that shows up is both new and almost certain to be caused by that skin. It doesn't actually remove anything from the log in memory. The dialog displays the last 20, and it you clear it and close and reopen it, those same 20 entries are right back...

If you read the manual carefully, it says:
Click Clear to remove the current contents of the log panel.
Maybe it could be clearer, but note that it doesn't say anything about removing stuff from the actual log. The only way to actually clear the log itself is to restart Rainmeter, but of course doing that will create a whole bunch of new entries as Rainmeter starts and skins are loaded. (which Rainmeter sees as the same thing as being "refreshed", because it pretty much is the same thing...)

https://docs.rainmeter.net/manual/user-interface/about/#LogTab

Re: Clearing log not working

Posted: August 19th, 2021, 10:28 pm
by death.crafter
Oh I see.