• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
syslog question - hope it's not OT
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

syslog question - hope it's not OT


  • Subject: syslog question - hope it's not OT
  • From: Lance Drake <email@hidden>
  • Date: Fri, 22 Sep 2006 01:35:38 -0600

Hi Xcode Folks, 

For some reason, the apps I am building with XCode (v2.4 Xcode IDE: 759.0 Xcode Core: 757.0 ToolSupport: 733.0) on MacOSX 10.4.8 (doesn't matter which version - they all behave the same) do not make successful calls such to syslog - as in  syslog(LOG_INFO, "Error %d", err);  Calls to syslog do not end up putting text in the /var/log/syslog.log file.  

The compiler has no trouble with the entries in the code, the linker doesn't complain, the debugger will stop on the calls and step over them - but then nothing new appears in the system.log.  

The OS has no trouble getting messages in there.. as in:

 [Sep 21 22:27:00 MacPro /Volumes/dev/PROJECTS/TTC/build/Debug/JCM_TTC.app/Contents/MacOS/JCM_TTC: __CGPixelAccessGetDataProvider: vm_copy failed: status 2.]

The Activity Monitor app shows the syslogd process is running with the root as the user

Does anyone have an idea why my app might be getting the 'black-hole' treatment when I try to add to the system.log? 


Thanks very much!

Lance Drake
 
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: syslog question - hope it's not OT
      • From: Heath Raftery <email@hidden>
  • Prev by Date: remote debugging linux app
  • Next by Date: build error
  • Previous by thread: remote debugging linux app
  • Next by thread: Re: syslog question - hope it's not OT
  • Index(es):
    • Date
    • Thread