It is currently September 21st, 2021, 7:36 am

Clearing log not working

Report bugs with the Rainmeter application and suggest features.
User avatar
death.crafter
Posts: 936
Joined: April 24th, 2021, 8:13 pm

Clearing log not working

Post 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
You do not have the required permissions to view the files attached to this post.
from the Realm of Death
My Current Desktop
User avatar
eclectic-tech
Rainmeter Sage
Posts: 4390
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Clearing log not working

Post 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.
User avatar
jsmorley
Developer
Posts: 22287
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Clearing log not working

Post 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
User avatar
death.crafter
Posts: 936
Joined: April 24th, 2021, 8:13 pm

Re: Clearing log not working

Post by death.crafter »

Oh I see.
from the Realm of Death
My Current Desktop