Logs

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
borgward
Level 6
Level 6
Posts: 1183
Joined: Mon Dec 17, 2012 10:18 pm

Logs

Post by borgward »

where does mint store messages about I/O errors? how do I access them?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
caf4926
Level 7
Level 7
Posts: 1916
Joined: Mon Mar 22, 2010 3:21 pm
Location: Argyll and Bute

Re: Logs

Post by caf4926 »

The most significant log is
/var/log/messages

open a terminal and do

Code: Select all

sudo cat /var/log/messages > /home/yourusername/messages.txt
*replace yourusername with the username you use for login

The resulting file can now be found in your home folder

You may need to chown it

Code: Select all

sudo chown yourusername messages.txt
Linux Mint 21.1 Cinnamon
borgward
Level 6
Level 6
Posts: 1183
Joined: Mon Dec 17, 2012 10:18 pm

Re: Logs

Post by borgward »

mint ~ $ sudo cat /var/log/messages > /home/abc/messages.txt
cat: /var/log/messages: No such file or directory

-mint /var/log $ ls
alternatives.log auth.log.3.gz cups dpkg.log.1 kern.log.2.gz mintUpdate.history speech-dispatcher syslog.7.gz Xorg.0.log.old
alternatives.log.1 auth.log.4.gz dmesg faillog kern.log.3.gz news syslog udev Xorg.20.log
apt boot dmesg.0 fontconfig.log kern.log.4.gz pm-powersave.log syslog.1 ufw.log
aptitude boot.log dmesg.1.gz fsck lastlog pm-powersave.log.1 syslog.2.gz unattended-upgrades
aptitude.1.gz bootstrap.log dmesg.2.gz hp mail.err pm-suspend.log syslog.3.gz upstart
auth.log btmp dmesg.3.gz installer mail.log pm-suspend.log.1 syslog.4.gz wtmp
auth.log.1 btmp.1 dmesg.4.gz kern.log mdm pycentral.log syslog.5.gz wtmp.1
auth.log.2.gz ConsoleKit dpkg.log kern.log.1 mintsystem.log samba syslog.6.gz Xorg.0.log
caf4926
Level 7
Level 7
Posts: 1916
Joined: Mon Mar 22, 2010 3:21 pm
Location: Argyll and Bute

Re: Logs

Post by caf4926 »

OK
My bad
I had another hat on.

syslog ? may help it's in the same place and of course dmseg
Both those are readable as user
Linux Mint 21.1 Cinnamon
Locked

Return to “Beginner Questions”