Projects
Browse Source     Search     Timeline     Wiki

Changeset 23518

Show
Ignore:
Timestamp:
02/15/08 14:18:20 (10 months ago)
Author:
zarzycki@…
Message:

Better logging.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/launchd/src/launchd_core_logic.c

    r23513 r23518  
    11501150 
    11511151        if (jp && !jp->anonymous && unlikely(!(kp.kp_proc.p_flag & P_EXEC))) { 
    1152                 job_log(jp, LOG_APPLEONLY, "Performance and sanity: fork() without exec*(). Please switch to posix_spawn()"); 
     1152                job_log(jp, LOG_APPLEONLY, "Performance and sanity: fork() without exec*(). Please switch to posix_spawn(). Child PID %u", 
     1153                                kp.kp_proc.p_pid); 
    11531154        } 
    11541155 
     
    24512452                } 
    24522453 
    2453                 job_log(j, LOG_APPLEONLY, "Performance and sanity: fork() without exec*(). Please switch to posix_spawn()"); 
    2454                 break; 
     2454                job_log(j, LOG_APPLEONLY, "Performance and sanity: fork() without exec*(). Please switch to posix_spawn(). Child PID %u", 
     2455                                kp[i].kp_proc.p_pid); 
    24552456        } 
    24562457 
     
    60526053 
    60536054                if (unlikely(j->lastlookup == ms && j->lastlookup_gennum == ms->gen_num && !j->per_user)) { 
    6054                         job_log(ms->job, LOG_APPLEONLY, "Performance: Please fix the framework to cache the Mach port for service: %s", servicename); 
     6055                        job_log(j, LOG_APPLEONLY, "Performance: Please fix the framework that talks to \"%s\" to cache the Mach port for service: %s", ms->job->label, servicename); 
    60556056                } 
    60566057