From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Fri, 15 Oct 2004 17:06:28 +0000 Subject: Re: Log actions releated to /etc/dev.d scripts Message-Id: <20041015170628.GA6056@vrfy.org> List-Id: References: <1097845120.5114.32.camel@homer.blizzard.org> In-Reply-To: <1097845120.5114.32.camel@homer.blizzard.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Fri, Oct 15, 2004 at 08:58:40AM -0400, Jesse Stockall wrote: > Hi > > I was trying to debug a script from /etc/dev.d and found that nothing is > logged, even when logging is enabled in udev.conf. This little patch > makes is a heck of a lot easier to see what is going on. > > --- udev-038/dev_d.c-orig 2004-10-14 15:26:53.517860168 -0400 > +++ udev-038/dev_d.c 2004-10-14 15:27:05.758999232 -0400 > @@ -41,7 +41,7 @@ > int fd; > char *argv[3]; > > - dbg("running %s", name); > + info("running %s", name); > > pid = fork(); > switch (pid) { Just compile udev with "make DEBUG=true" and you will get all these in your syslog. We really don't want this kind of debug for normal users. Kay ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel