View previous topic :: View next topic |
Author |
Message |
lateralus01 Tux's lil' helper
Joined: 24 Jan 2008 Posts: 86
|
Posted: Thu Jul 17, 2008 2:55 am Post subject: [Solved] How do I check syslog-ng messages? |
|
|
I'm following the Gentoo Power Management Guide: http://www.gentoo.org/doc/en/power-management-guide.xml
It tells me to see if what I did is working by checking syslog messages:
Quote: |
Give it a try: Plug AC in and out and watch syslog for the "Switching to AC mode" or "Switching to battery mode" messages. See the Troubleshooting section if the script is not able to detect the power source correctly.
|
I installed syslog-ng a while ago but I don't know where the logs are or how to check them to see if it's working.
Can anyone help me?
Thanks,
Lateralus01
Last edited by lateralus01 on Thu Jul 17, 2008 3:14 am; edited 1 time in total |
|
Back to top |
|
|
timeBandit Bodhisattva
Joined: 31 Dec 2004 Posts: 2719 Location: here, there or in transit
|
Posted: Thu Jul 17, 2008 3:04 am Post subject: |
|
|
Unless you've reconfigured syslog (and judging by your question, I'd say you haven't yet) the majority of system messages should be written to /var/log/messages. An ordinary user will not have permission to read this file because logs can divulge sensitive information about a system. You must become root to view it--again, unless/until you reconfigure syslog.
There's a lot of good information on this subject on the (unofficial) Gentoo Wiki. _________________ Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, strip comments, mark solved, help others. |
|
Back to top |
|
|
lateralus01 Tux's lil' helper
Joined: 24 Jan 2008 Posts: 86
|
Posted: Thu Jul 17, 2008 3:13 am Post subject: |
|
|
timeBandit wrote: | Unless you've reconfigured syslog (and judging by your question, I'd say you haven't yet) the majority of system messages should be written to /var/log/messages. An ordinary user will not have permission to read this file because logs can divulge sensitive information about a system. You must become root to view it--again, unless/until you reconfigure syslog.
There's a lot of good information on this subject on the (unofficial) Gentoo Wiki. |
thanks timeBandit |
|
Back to top |
|
|
deathcon1 Apprentice
Joined: 30 Aug 2007 Posts: 182 Location: Canada
|
Posted: Thu Jul 17, 2008 4:58 pm Post subject: |
|
|
Another tip is this
Code: | tail -f /var/log/messages |
Can be VERY useful if soemthing isn't behaving as expected.[/code] |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Thu Jul 17, 2008 6:04 pm Post subject: |
|
|
Moved from Installing Gentoo to Other Things Gentoo.
Not about getting gentoo installed, so moved here. _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
|