We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Following an upgrade command a few hours ago, I was surprised to find this line alone logged for Telegram:
upgrade
telegram-desktop-5.10.6 installed
– surprised, because telegram-desktop was installed long before the upgrade.
telegram-desktop
In cases such as this, it seems that:
/var/log/messages
Without looking in detail at my recent log files, the number of deinstalled lines is wrong (too low) compared to the number of installed lines:
deinstalled
installed
grahamperrin:~ % grep deinstalled /tmp/messages.0 | wc -l 1 grahamperrin:~ % grep \ installed /tmp/messages.0 | wc -l 1409 grahamperrin:~ % grep reinstalled /tmp/messages.0 | wc -l 54 grahamperrin:~ % grep upgraded /tmp/messages.0 | wc -l 444 grahamperrin:~ % head -n 1 /tmp/messages.0 ; tail -n 1 /tmp/messages.0 Jan 22 19:00:00 mowa219-gjp4-zbook-freebsd newsyslog[5605]: logfile turned over due to size>1000K Jan 26 01:00:00 mowa219-gjp4-zbook-freebsd newsyslog[6790]: logfile turned over due to size>1000K grahamperrin:~ % grep deinstalled /var/log/messages | wc -l 6 grahamperrin:~ % grep \ installed /var/log/messages | wc -l 469 grahamperrin:~ % grep reinstalled /var/log/messages | wc -l 10 grahamperrin:~ % grep upgraded /var/log/messages | wc -l 136 grahamperrin:~ % head -n 1 /var/log/messages ; date Jan 26 01:00:00 mowa219-gjp4-zbook-freebsd newsyslog[6790]: logfile turned over due to size>1000K Thu 30 Jan 2025 00:48:37 GMT grahamperrin:~ %
After observing the Telegram case, I created a test boot environment to capture more detail.
test
2025-01-29 18-26 test, telegram-desktop upgraded but logged as installed.txt
grahamperrin:~ % pkg iinfo ^pkg$ pkg-2.0.5 grahamperrin:~ % uname -aKU FreeBSD mowa219-gjp4-zbook-freebsd 15.0-CURRENT FreeBSD 15.0-CURRENT main-n275068-0078df5f0258 GENERIC-NODEBUG amd64 1500030 1500030 grahamperrin:~
The text was updated successfully, but these errors were encountered:
On my side, pkg upgrade -f has deleted a lot of packages, and the desktop have crashed.
pkg upgrade -f
I was not able to recover the desktop from the TTY.
Sorry, something went wrong.
For #2413 (comment) @ericbsd please, can you create a separate issue?
For this issue #2413 to remain focused on logging. Thanks
Noted:
No branches or pull requests
Following an
upgrade
command a few hours ago, I was surprised to find this line alone logged for Telegram:– surprised, because
telegram-desktop
was installed long before the upgrade.In cases such as this, it seems that:
/var/log/messages
does include the installation, but not the preceding deinstallation.Without looking in detail at my recent log files, the number of
deinstalled
lines is wrong (too low) compared to the number ofinstalled
lines:In detail
After observing the Telegram case, I created a
test
boot environment to capture more detail.2025-01-29 18-26 test, telegram-desktop upgraded but logged as installed.txt
Current environment
The text was updated successfully, but these errors were encountered: