Android--Linux kernel log级别修改
在我们开发过程中,内核的信息一开机就会很多,然后一直打个不停,很烦人,也不好看调试信息,更不好在串口终端输入相关的命令进行调试。
那么有什么办法可以解决?
1、在kernel中修改log默认等级,
kernel-3.18/include/linux/printk.h static inline void console_verbose(void)函数中的 console_loglevel = CONSOLE_LOGLEVEL_MIN; //CONSOLE_LOGLEVEL_MOTORMOUTH;然后重新编译内核。
Writing your first Django app, part 1
Let’s learn by example.
Throughout this tutorial, we’ll walk you through the creation of a basic poll application.
It’ll consist of two parts:
A public site that lets people view polls