a colleague showed me an embedded system he was working on that is
based on busybox-1.1.3, and was wondering why he wasn't getting his
DEBUG-level messages logged to /var/log/messages.  while i was getting
ready to explain stuff like /proc/sys/kernel/printk to him, he got an
email from one of his co-workers telling him to:

  echo "7" > /var/run/loglevel
  killall HUP syslogd

or something to that effect.  and it worked.

  huh?  where exactly does syslogd consult /var/run/loglevel?  i
downloaded the source and poked around, and i don't see any reference
to that file.  am i just being dense?  why did that work?  thanks.

rday
--

========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
    Have classroom, will lecture.

http://crashcourse.ca                          Waterloo, Ontario, CANADA
========================================================================
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to