I upgraded an #ios#swiftui project to use #nuke 12 for image loading. All works well, but it spams my log with a ton of stuff I am not interested in, and I can not find out where to turn this off. Help?
@toco Thanks I use this all the time myself. I wonder if the logs in my screenshot are using structured logging as they have neither Category nor Subsystem set.
I can suppress the system logging by launching with OS_ACTIVITY_MODE to „disabled“ in the Environment variables when running, but somehow this switches Xcode Console to stdout instead of using the new console, which is a puzzling side effect.
@toco Yes I do and it does work as a band-aid, but tbh, I don't want to filter all messages by „Metal" as that Library is very welcome to complain if I do something wring with it in my code… Somehow Nuke turned on some kind of logging in the system for their code and I just want to turn it off, not supress all system log messages.
@gernot@gernot The solution that comes to my mind is to fork #nuke and manually change it. That’s obviously not a very good solution, but I haven’t worked with nuke for quite a while and don’t know the intricacies of it.
Maybe ask @a_grebenyuk himself?
@havhingstor@a_grebenyuk If I only knew where in the framework this is triggered, I could work my way back. But it is Logging of Apples internal frameworks that somehow does not get suppressed but I have no clue where and how. I pinged him already ;-)
Add comment