lbryio / lbry-desktop

A browser and wallet for LBRY, the decentralized, user-controlled content marketplace.
https://lbry.tech
MIT License
3.57k stars 414 forks source link

Log stopped being updated - ~/.local/share/lbry/lbrynet/lbrynet.log not updating #7726

Open slrslr opened 1 year ago

slrslr commented 1 year ago

Current AppImage 0.53.6 on Debian 11 with KDE desktop.

It was logging at first:

$ tail -n 1 $HOME/.local/share/lbry/lbrynet/lbrynet.log*

==> /home/me/.local/share/lbry/lbrynet/lbrynet.log <==
2022-11-07 01:59:10,367 INFO     lbry.stream.managed_stream:401: stopping inactive download for lbry://video-name-here#longstringhere (string...)

==> /home/me/.local/share/lbry/lbrynet/lbrynet.log.1 <==
2022-11-06 08:37:05,862 INFO     lbry.torrent.tracker:233: Found 3 peers from tracker for 25cd6f2x

But stopped it is many hours since last log lines. And i have restarted app many times and did various actions. I think that running this AppImage via command line shown more verbose output at first but no longer.

  File: /home/user/.local/share/lbry -> /external/drive/path/lbry
Access: (0777/lrwxrwxrwx)  Uid: ( 1000/    user)   Gid: ( 1000/    user)

  File: /home/user/.local/share/lbry/lbrynet
Access: (0755/drwxr-xr-x)  Uid: ( 1000/    user)   Gid: ( 1000/    user)

  File: /home/user/.local/share/lbry/lbrynet/lbrynet.log
  Size: 855542          Blocks: 265        IO Block: 131072 regular file
Access: (0644/-rw-r--r--)  Uid: ( 1000/    user)   Gid: ( 1000/    user)

File: /home/user/.local/share/lbry/lbrynet/lbrynet.log.1
  Size: 2097110         Blocks: 545        IO Block: 131072 regular file
Access: (0644/-rw-r--r--)  Uid: ( 1000/    user)   Gid: ( 1000/    user)

Later i have found that there is also /home/user/.config/LBRY/logs/ containing main.log which contains almost exclusively this:

...
[info]  Checking for update
[info]  Update for version 0.53.6 is not available (latest version: 0.53.6, downgrade is disallowed).
[info]  Checking for update
[info]  Update for version 0.53.6 is not available (latest version: 0.53.6, downgrade is disallowed).
[info]  Checking for update
[info]  Update for version 0.53.6 is not available (latest version: 0.53.6, downgrade is disallowed).
...

You have 2 config. folders, linking to no longer updated one from app (Settings button / Help / Open Log) while other folde rmain.log is updated. How to temporarily enable more verbose logging as it was in .local/share/lbry/lbrynet/lbrynet.log* files and suddenly stopped?