How to take kernel crash log backup from /var/log/messages to another file using klogd and syslogd

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to take kernel crash log backup from /var/log/messages to another file using klogd and syslogd

1,729 次查看
bandarulavanya
Contributor V

Hi Friends,

I want to take the backup of kernel crash logs in to a file in /home folder, how we can do it, if any one done already can you please give me some references.

FYI

linux version - 3.0.35, my board is similar to imx6 sabresd board

Thanks & Regards,

Lavanya

标记 (2)
0 项奖励
回复
1 回复

1,477 次查看
gusarambula
NXP TechSupport
NXP TechSupport

Hello Bandaru Lavanya,

You should be able to edit which logs are recorded and to what files on the /etc/syslog.conf file.

There is some useful guidelines on this on the following link. These are directed towards BSD but the log configuring is the same as Linux.

11.7. Configuring System Logging

I hope this helps!

0 项奖励
回复