gernot, German
@gernot@mas.to avatar

I upgraded an project to use 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,

@gernot check man 5 os_log for always or https://developer.apple.com/videos/play/wwdc2023/10226/ for just Xcode console.

gernot,
@gernot@mas.to avatar

@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,

@gernot you can also filter by Library, which should work in this case.

gernot,
@gernot@mas.to avatar

@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.

havhingstor,
@havhingstor@mstdn.social avatar

@gernot @gernot The solution that comes to my mind is to fork 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?

gernot,
@gernot@mas.to avatar

@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 ;-)

havhingstor,
@havhingstor@mstdn.social avatar

@gernot @a_grebenyuk Can you suppress Apple‘s own logging?

gernot,
@gernot@mas.to avatar

@havhingstor @a_grebenyuk No idea. It doesn’t do this in my apps, so there is something Nuke does differently.

gernot,
@gernot@mas.to avatar

/cc @a_grebenyuk (Sorry to bother you, but I can’t find where to configure logging)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • iOS
  • DreamBathrooms
  • mdbf
  • ethstaker
  • magazineikmin
  • GTA5RPClips
  • rosin
  • thenastyranch
  • Youngstown
  • osvaldo12
  • slotface
  • khanakhh
  • kavyap
  • InstantRegret
  • Durango
  • provamag3
  • everett
  • cisconetworking
  • Leos
  • normalnudes
  • cubers
  • modclub
  • ngwrru68w68
  • tacticalgear
  • megavids
  • anitta
  • tester
  • JUstTest
  • lostlight
  • All magazines