-
Re: how did os_log send log to logd
eskimo May 13, 2019 12:43 AM (in response to shanksli)The exact mechanism used by
os_log
is not documented and is subject to change over time. However, it’s certainly not as simple as a UNIX domain socket to a daemon, à la the traditionalsyslog
mechanism. The team discussed some of the implementation details in WWDC 2016 Session 721 Unified Logging and Activity Tracing.Why does this matter to you?
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardwarelet myEmail = "eskimo" + "1" + "@apple.com"
-
Re: how did os_log send log to logd
shanksli May 16, 2019 6:03 AM (in response to eskimo)tks for your reply.
Since i found that android will lose logs when the amount of log is large due to the socket buffer problem. i am curious about if the apple log system has such a problem or not?
-
Re: how did os_log send log to logd
eskimo May 17, 2019 12:43 AM (in response to shanksli)OSLog is designed to handle very high log volumes, but that isn’t a guarantee that you can log without consequences. The WWDC talk I mentioned previous should give you some insight into the trade-off involves.
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardwarelet myEmail = "eskimo" + "1" + "@apple.com"
-
-