| View previous topic :: View next topic |
| Author |
Message |
lateralus01 Tux's lil' helper

Joined: 24 Jan 2008 Posts: 86
|
Posted: Wed Jul 16, 2008 9:55 pm 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 Wed Jul 16, 2008 10:14 pm; edited 1 time in total |
|
| Back to top |
|
 |
timeBandit Moderator


Joined: 30 Dec 2004 Posts: 2115 Location: here, there or in transit
|
Posted: Wed Jul 16, 2008 10:04 pm 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: Wed Jul 16, 2008 10:13 pm 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: 29 Aug 2007 Posts: 182 Location: Canada
|
Posted: Thu Jul 17, 2008 11:58 am 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 Administrator


Joined: 09 Apr 2004 Posts: 10459 Location: the dutch mountains
|
Posted: Thu Jul 17, 2008 1: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 |
|
 |
|