Michael wrote:
> On Monday, 15 September 2025 07:54:59 British Summer Time Dale wrote:
>> Michael wrote:
>>> The size of this log file increases over time.  If you reboot/restart your
>>> desktop daily, the file will be overwritten and remain at a reasonable
>>> size - my wayland-session.log is currently ~ 165kB.
>>>
>>> Dale does not reboot often, so the file will grow until it is
>>> deleted/rotated.
>> I logged out and back in when I finished my updates this morning.  It
>> was huge before I logged out and still huge when I logged back in.  It
>> seems it doesn't delete/rotate here for some reason.
> The reason must be you logged in a Wayland Plasma desktop, rather the Xserver 
> desktop?


While Wayland is installed here, I don't actively use it.  I'm sure it
is running since things are switching in that direction tho.  I just
still use the old X stuff as far as what I select when logging in. 
Unless it changed without me knowing it. 


>
>>> You can automate the rotation of this file with logrotate.  Just add it in
>>> the logrotate.d/ directory and specify a maximum size you're happy with,
>>> e.g. "size 3M" and/or how long before it is rotated, e.g. "weekly".
>> Honestly, if it is logging a problem that much, I'd like to know what it
>> is so I can fix it.  That way the log is a reasonable size and whatever
>> it is complaining about is fixed and working correctly as well. 
>>
>> I did delete the file.  So far, it hasn't came back.  I'll try to
>> remember to look when I logout and back in next weekend after updates. 
>> If it does, I'll look into logrotate.  I haven't set up one of those in
>> ages.  :/ 
>>
>> Still wonder what it is complaining so much about.  o_O
>>
>> Dale
>>
>> :-)  :-) 
> The sddm log can be quite chatty about non-critical warnings triggered by 
> your 
> desktop.  I just logged in an hour ago and my '.local/share/sddm/wayland-
> session.log' is already 897 lines long.  It's getting filled up with warnings 
> about plasmoids, missing files, etc. - e.g.:
>
> file:///usr/share/plasma/plasmoids/org.kde.plasma.kickoff/contents/ui/
> main.qml:310:13: QML Image: Cannot open: file:
> ///usr/share/plasma/plasmoids/org.kde.plasma.kickoff/contents/ui/start-here-
> kde-symbolic
> IFFChunk::innerFromDevice: unkwnown chunk "\x89PNG"
> IFFChunk::innerFromDevice: unkwnown chunk "\x89PNG"
> IFFChunk::innerFromDevice: unkwnown chunk "\x89PNG"
> ...
>
> Since you restart your desktop rarely, setting up logrotate to deal with this 
> log file would make sense.


I'll do that if the file shows up again and starts getting some size.  I
have no idea how logrotate is setup nowadays.  I haven't messed with it
in ages.  I do logout and back in once a week tho.  Whenever the updates
are done. 

Dale

:-)  :-) 

Reply via email to