Discussion:
[OpenWrt-Users] Is there anybody can find /var/log/dmesg in OpenWRT ?
Tymon
2016-12-29 06:53:26 UTC
Permalink
Hi all,


Why can't I find the /var/log/dmesg file under openwrt (the busybox built-in tool 'dmesg' is work fine) ???


Any hint will be appreciated!


------------------
Regards,

banglang huang
_______________________________________________
openwrt-devel mailing list
openwrt-***@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
camden lindsay
2016-12-29 06:57:54 UTC
Permalink
I believe you have to use logread-

https://wiki.openwrt.org/doc/howto/log.essentials
Post by Tymon
Hi all,
Why can't I find the /var/log/dmesg file under openwrt (the busybox
built-in tool 'dmesg' is work fine) ???
Any hint will be appreciated!
------------------
Regards,
banglang huang
_______________________________________________
openwrt-devel mailing list
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
_______________________________________________
openwrt-users mailing list
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
Tymon
2016-12-29 08:17:00 UTC
Permalink
Thank you for your answer, but I only want to display the kernel message.
I expect to use 'tail -f /var/log/dmesg' to read the kernel debug message on my device that without
serial console.


------------------
Regards,

banglang huang
_______________________________________________
openwrt-devel mailing list
openwrt-***@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel







------------------ 原始邮件 ------------------
发件人: "camden lindsay";<camden.lindsay+***@gmail.com>;
发送时闎: 2016幎12月29日(星期四) 䞋午2:57
收件人: "OpenWrt User List"<openwrt-***@lists.openwrt.org>;
抄送: "openwrt-devel"<openwrt-***@lists.openwrt.org>;
䞻题: Re: [OpenWrt-Users] Is there anybody can find /var/log/dmesg inOpenWRT ?



I believe you have to use logread-

https://wiki.openwrt.org/doc/howto/log.essentials
Post by Tymon
Hi all,
Why can't I find the /var/log/dmesg file under openwrt (the busybox
built-in tool 'dmesg' is work fine) ???
Any hint will be appreciated!
------------------
Regards,
banglang huang
_______________________________________________
openwrt-devel mailing list
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
_______________________________________________
openwrt-users mailing list
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
_______________________________________________
openwrt-users mailing list
openwrt-***@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
Lupe Christoph
2016-12-29 08:47:48 UTC
Permalink
Post by Tymon
Thank you for your answer, but I only want to display the kernel message.
I expect to use 'tail -f /var/log/dmesg' to read the kernel debug message on my device that without
serial console.
If you want to see older kernel messages, you will have to set up syslog
logging to a host with sufficient disk. If the last feww hundred messages
will do, why don't you just use the dmesg command?

Lupe Christoph
--
| As everyone knows, it was predicted that the world would end last |
| Wednesday at 10:00 PST. Since there appears to be a world in existence |
| now, the entire universe must therefore have been recreated, complete |
| with an apparent "history", last *Thursday*. QED. |
| Seanna Watson, <***@bcrka451.bnr.ca> |
Loading...