I'm STILL working on sandboxing accommodations, 4 years later than I expected. Today's task? Get the crash reporter access to console log
@danielpunkass And do you redirect NSLog to catch messages logged by the frameworks for your process?
-
-
@mjtsai I think I don't have to ... I think it happens automatically by NSLog doubling to stderr, but I could be wrong. -
@danielpunkass Yes. Thought maybe you were using your own custom logging function. - View other replies
-
@mjtsai It was the desire to keep logging more or less "the same as ever" that led me to this solution. -
@danielpunkass@mjtsai Have you considered the Apple System Log API? Not exactly keeping it the same, but might be suitable for your needs. -
-
@danielpunkass I figured you could direct the log messages to a file within your sandbox and then query from that? -
@wadeco Oh, hm, that's an idea. Yeah I had a comment in my hack that says "try to get time-based filtering like ASL", so maybe! -
@danielpunkass Of course ASL isn’t really going to help for getting to crash logs which was your original problem.
- View other replies
- Show more
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
Daniel Jalkut
Michael Tsai
Wade Cosgrove