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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to