• 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: Debug-level messages don't appear in Console even after asl_set_filter()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debug-level messages don't appear in Console even after asl_set_filter()


  • Subject: Re: Debug-level messages don't appear in Console even after asl_set_filter()
  • From: Jesper Storm Bache <email@hidden>
  • Date: Wed, 16 Sep 2009 08:38:17 -0700
  • Acceptlanguage: en-US
  • Thread-topic: Debug-level messages don't appear in Console even after asl_set_filter()

This is by design. The syslogd daemon filters such messages out.

See man syslog (and possibly also man syslogd) on how to change the
server side filtering.

Jesper

On Sep 16, 2009, at 8:22 AM, Sidney San Martín wrote:

> Messages that I log below ASL_LEVEL_NOTICE aren't showing up in
> Console at all. Here's my test case:
>
>
> aslclient client = asl_open(NULL, NULL, ASL_OPT_STDERR);
> asl_set_filter(client, ASL_FILTER_MASK_UPTO(ASL_LEVEL_DEBUG));
>
> asl_log(client, NULL, ASL_LEVEL_WARNING, "This shows up in
> Console...");
> asl_log(client, NULL, ASL_LEVEL_DEBUG, "...but this does not");
>
> asl_close(client);
>
> Is there some aspect of filtering that I'm missing?
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Debug-level messages don't appear in Console even after asl_set_filter()
      • From: Sidney San Martín <email@hidden>
References: 
 >Debug-level messages don't appear in Console even after asl_set_filter() (From: Sidney San Martín <email@hidden>)

  • Prev by Date: Re: Binding a model's ivar array to the contents of an NSArrayController
  • Next by Date: Re: Retrieving the selected object in an NSOutlineView.
  • Previous by thread: Debug-level messages don't appear in Console even after asl_set_filter()
  • Next by thread: Re: Debug-level messages don't appear in Console even after asl_set_filter()
  • Index(es):
    • Date
    • Thread