• 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
Re: syslog question - hope it's not OT
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: syslog question - hope it's not OT


  • Subject: Re: syslog question - hope it's not OT
  • From: Heath Raftery <email@hidden>
  • Date: Sat, 23 Sep 2006 09:10:46 +1000

Lance,

LOG_INFO level messages are no longer by default sent to system.log. Raise their level to LOG_NOTICE or higher (check man syslog) or change syslog.conf to get them to appear in that file.

Heath

On 22/09/2006, at 5:35 PM, Lance Drake wrote:

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


References: 
 >syslog question - hope it's not OT (From: Lance Drake <email@hidden>)

  • Prev by Date: Re: Applescript: Xcode's "front" project is not one in front window
  • Next by Date: Re: Applescript: Xcode's "front" project is not one in front window
  • Previous by thread: syslog question - hope it's not OT
  • Next by thread: build error
  • Index(es):
    • Date
    • Thread