linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Log actions releated to /etc/dev.d scripts
@ 2004-10-15 12:58 Jesse Stockall
  2004-10-15 17:06 ` Kay Sievers
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Jesse Stockall @ 2004-10-15 12:58 UTC (permalink / raw)
  To: linux-hotplug

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) {

Jesse




-------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-10-15 18:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-15 12:58 Log actions releated to /etc/dev.d scripts Jesse Stockall
2004-10-15 17:06 ` Kay Sievers
2004-10-15 17:26 ` Jesse Stockall
2004-10-15 17:54 ` Kay Sievers
2004-10-15 18:11 ` Jesse Stockall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).