[问题]ubuntu日志在那里查看

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
twg1023
帖子: 33
注册时间: 2008-03-27 22:54

[问题]ubuntu日志在那里查看

#1

帖子 twg1023 » 2008-04-28 20:31

我的ubuntu8.04安装了很多软件,在系统关机的时候进入了命令行,有几个debug的错误一闪而过(没有安装更多软件以前是没有的),具体内容还没有来得及看就没有了,ubuntu的关机日志在那里查看呀,关机的时候总有小状况,很烦。请教高手!
头像
chen824
帖子: 58
注册时间: 2008-03-05 16:16
联系:

#2

帖子 chen824 » 2008-04-28 22:31

/etc/syslog.conf
twg1023
帖子: 33
注册时间: 2008-03-27 22:54

#3

帖子 twg1023 » 2008-04-29 11:23

chen824 写了:/etc/syslog.conf
看不明白呀您能说清楚一些吗? 我把/var/log/ 的所有日志文件都查看了一下,均没有找到!!!
头像
lll9p
帖子: 1806
注册时间: 2007-07-18 18:56
联系:

#4

帖子 lll9p » 2008-04-29 11:58

最简单的:
系统-系统管理—系统日志
twg1023
帖子: 33
注册时间: 2008-03-27 22:54

#5

帖子 twg1023 » 2008-04-29 13:34

在哪一个文件中呀 我把所有文件中都用VI的查找命令找过关键字了,可是一无所获!
Batlittle
帖子: 9
注册时间: 2007-11-12 10:37
来自: Beijing,China
联系:

#6

帖子 Batlittle » 2008-04-29 21:10

这是我的syslog.conf,还请高人帮忙看看问题出在哪

代码: 全选

#  /etc/syslog.conf	Configuration file for syslogd.
#
#			For more information see syslog.conf(5)
#			manpage.

#
# 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

#
# 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.err;\
	*.=debug;*.=info;\
	*.=notice;*.=warn	|/dev/xconsole
我来过,我很乖!
twg1023
帖子: 33
注册时间: 2008-03-27 22:54

#7

帖子 twg1023 » 2008-04-30 14:38

这个文件是配置系统所有日志要书写的位置,以及书写的级别等信息! 他是系统日志的配置文件而已,真正排除问题的是日志的实体文件里面的信息! 像我的机器在关机的时候进入了命令行,有一个错误一闪而过,我没有看清楚,系统日志肯定会把这个错误写在一个文件中,以前玩儿FreeBSD是所有屏幕上输出的信息都有文本日志的对应的。可是我找不到这个文件在那里!翻遍了/var/log/所有日志文件还是没有找到我看到的错误关键字。 所以请高手帮忙指点一二。
ggccll77
帖子: 10
注册时间: 2010-07-26 10:45

Re: [问题]ubuntu日志在那里查看

#8

帖子 ggccll77 » 2010-09-11 19:52

我的系统日志怎么是/etc/rsyslog.conf,why?
我的系统是ubuntu10.04的
头像
remeber
论坛版主
帖子: 13030
注册时间: 2009-01-06 15:18
来自: 人间

Re:

#9

帖子 remeber » 2010-09-11 21:32

lll9p 写了:最简单的:
系统-系统管理—系统日志
“有一种被人抛诸脑后的过去,包含一些不该遗忘的点点滴滴。欢笑之余,我将故旧拾起,才刹见自己的薄情。人世间似乎存在着某种公平,每个人都曾被抛掷在他人的遗忘中;而今你所有哽咽难宣的话语,也正是你曾为人所期盼,却永远听不见的字句。” —赫曼 赫塞
回复