Revision
23454
Author
zarzycki@apple.com
Date
2007-12-06 13:10:26 -0800 (Thu, 06 Dec 2007)

Log Message

Better logging.

Modified Paths

Diff

Modified: trunk/launchd/src/launchd_core_logic.c (23453 => 23454)


--- trunk/launchd/src/launchd_core_logic.c	2007-12-04 21:58:16 UTC (rev 23453)
+++ trunk/launchd/src/launchd_core_logic.c	2007-12-06 21:10:26 UTC (rev 23454)
@@ -5759,8 +5759,7 @@
 	}
 	if (machservice_job(ms) != j) {
 		if (last_warned_pid != ldc.pid) {
-			job_log(j, LOG_NOTICE, "Check-in of Mach service failed. PID %d is not privileged: %s",
-					ldc.pid, servicename);
+			job_log(j, LOG_NOTICE, "Check-in of Mach service failed. The service \"%s\" is owned by: %s", servicename, j->label);
 			last_warned_pid = ldc.pid;
 		}
 		 return BOOTSTRAP_NOT_PRIVILEGED;