Javier Martinez wrote:
> El 17/9/25 a las 1:11, Michael escribió:
>> On Tuesday, 16 September 2025 23:25:35 British Summer Time Wol wrote:
>>> On 16/09/2025 12:36, Michael wrote:
>>>> I had deleted it in the past while I was testing sddm with X and
>>>> Wayland
>>>> and in both cases the log file was recreated when I logged in again.
>>>
>>> When you log in, the Xserver by default creates a new log file,
>>> something like "~/.Xserver.0.log", and renumbers all the older logs to
>>> .1, .2 etc. I think it went up to .9, giving you a maximum of ten
>>> log files.
>>>
>>> So logging out and back in *should* rotate the log for you.
>>>
>>> I've got a feeling it might be set not to create a new log file if it
>>> can't find an old one, so deleting them all *might* stop new ones being
>>> created.
>>>
>>> There's so many weird and wonderful ways these things can be done :-)
>>> and XOrg is directly descended from XFree86, which is directly
>>> descended
>>> from something else, so the code base probably goes back to the 80s -
>>> and quite possibly beyond ... I wonder what standard practice was
>>> back then!
>>>
>>> Cheers,
>>> Wol
>>
>> The problem Dale came up to and this thread did not involve /var/log/
>> Xorg.0.log, but the sddm created file
>> ~/.local/share/sddm/xorg-session.log.
> chattr +i  ~/.local/share/sddm/xorg-session.log


Then I have another problem.  Something is not working right and is
being logged.  If it can't update the file with the error, I don't know
what the problem is.  It may not be a big deal now but later on, it
could cause a serious problem.  It may even stop sddm from working. 

One of the reasons for my post, to get the file where I can open it.  It
was so big, I couldn't get anything to let me know what is in the file. 
What I would really have liked to do, just erase or clear the file and
let it start fresh, but much smaller.  When I logout and back in next
weekend, I hope it recreates the file and puts a little info in it. 
Then I can see what the problem is and hopefully fix it.  If I get a
chance, I may even logout and back in before this weekend. 

I might add, so far just deleting the file has worked.  o_O  Still, no
idea what it is having a problem with. 

Dale

:-)  :-) 

Reply via email to