View previous topic :: View next topic |
Author |
Message |
jeezus84 Apprentice
Joined: 02 Jan 2005 Posts: 161 Location: Canadia
|
Posted: Wed Jan 19, 2005 4:10 pm Post subject: can't find my logs |
|
|
hi.
when I look in /var/log, i don't get very much.
Code: |
jeezus84@localhost log $ ls -la /var/log
total 1064
drwxr-xr-x 7 root root 4096 Jan 19 10:56 .
drwxr-xr-x 13 root root 4096 Jan 18 14:27 ..
-rw-r--r-- 1 root users 33147 Jan 19 10:56 Xorg.0.log
-rw-r--r-- 1 root users 33147 Jan 19 10:30 Xorg.0.log.old
drwxr-xr-x 2 root root 4096 Jan 18 15:11 apache2
drwxr-xr-x 2 root root 4096 Jan 7 00:29 cups
-rw-rw---- 1 portage portage 229399 Jan 19 10:35 emerge.log
-rw-r--r-- 1 root root 292292 Jan 19 10:56 lastlog
drwxr-x--- 2 mysql mysql 4096 Jan 18 14:37 mysql
drwxr-xr-x 2 root root 4096 Jul 14 2004 news
drwxr-xr-x 2 root root 4096 Jan 19 09:49 samba
-rw-rw-r-- 1 root utmp 717696 Jan 19 10:59 wtmp
|
I need to get at my boot logfile.. and actually having a 'messages' files would be nice.
here is my syslog.conf file:
Code: |
# /etc/syslog.conf Configuration file for syslogd.
#
# For more information see syslog.conf(5)
# manpage.
# This is from Debian, we are using it for now
# Daniel Robbins, 5/15/99
#
# First some standard logfiles. Log by facility.
#
auth,authpriv.* /var/log/auth.log
*.*;auth,authpriv.none -/var/log/syslog
#cron.* /var/log/cron.log
daemon.* -/var/log/daemon.log
kern.* -/var/log/kern.log
lpr.* -/var/log/lpr.log
mail.* /var/log/mail.log
user.* -/var/log/user.log
uucp.* -/var/log/uucp.log
local6.debug /var/log/imapd.log
#
# Logging for the mail system. Split it up so that
# it is easy to write scripts to parse these files.
#
mail.info -/var/log/mail.info
mail.warn -/var/log/mail.warn
mail.err /var/log/mail.err
# Logging for INN news system
#
news.crit /var/log/news/news.crit
news.err /var/log/news/news.err
news.notice -/var/log/news/news.notice
#
# Some `catch-all' logfiles.
#
*.=debug;\
auth,authpriv.none;\
news.none;mail.none -/var/log/debug
*.=info;*.=notice;*.=warn;\
auth,authpriv.none;\
cron,daemon.none;\
mail,news.none -/var/log/messages
#
# Emergencies are sent to everybody logged in.
#
*.emerg *
#
# I like to have messages displayed on the console, but only on a virtual
# console I usually leave idle.
#
#daemon,mail.*;\
# news.=crit;news.=err;news.=notice;\
# *.=debug;*.=info;\
# *.=notice;*.=warn /dev/tty8
# The named pipe /dev/xconsole is for the `xconsole' utility. To use it,
# you must invoke `xconsole' with the `-file' option:
#
# $ xconsole -file /dev/xconsole [...]
#
# NOTE: adjust the list below, or you'll go crazy if you have a reasonably
# busy site..
#
#daemon.*,mail.*;\
# news.crit;news.err;news.notice;\
# *.=debug;*.=info;\
# *.=notice;*.=warn |/dev/xconsole
local2.* /var/log/ppp.log
|
hope you can help. thanks. |
|
Back to top |
|
|
ichimunki n00b
Joined: 26 Apr 2003 Posts: 16
|
Posted: Wed Jan 19, 2005 5:12 pm Post subject: |
|
|
Are you actually running a logger daemon? If you emerge'd one of the logging tools, did you remember to add it to you runlevel services with rc-update add [logger] default? You can also see some boot information with dmesg.
Just for info: I like metalog, which seems to default to using an "everything" log, which amazingly nice to have at times. |
|
Back to top |
|
|
jeezus84 Apprentice
Joined: 02 Jan 2005 Posts: 161 Location: Canadia
|
Posted: Wed Jan 19, 2005 5:21 pm Post subject: |
|
|
it all makes sense now.
thanks.
i went with metalog. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|