PhilipsHue / PhilipsHueSDK-iOS-OSX

The Software Development Kit for Philips Hue on iOS and OS X (beta)
579 stars 169 forks source link

Log filled with Hue messages #102

Closed cliffspencer closed 8 years ago

cliffspencer commented 8 years ago

I get a set of these

2015-09-17 15:40:17.508 LightFantastic[16424:5154335] Allocating PHHttpRequester 2015-09-17 15:40:17.509 LightFantastic[16424:5154335] Deallocating PHHttpRequest

each time the heartbeat fires, regardless of log level. Is there any way to disable these? I've tried to break on them and it doesn't look like they are being issued through Lumberjack. Please.

bmaltais commented 8 years ago

Same here. Would be nice to quiet them down.

lightbow commented 8 years ago

Amen

cliffspencer commented 8 years ago

Is anyone who maintains the SDK reading this list?

samuelclay commented 8 years ago

I would love to cleanup these log statements. It's making it very difficult to log anything else over a long period of time, as I know I'll have thousands of these "Allocating/Deallocating" statements.

cliffspencer commented 8 years ago

I gave up and bit the bullet. I backed down to the old SDK and undid all the changes for bridge mac vs bridge id. I just felt that I couldn't submit something that fill the entire console log.

jhvdb87 commented 8 years ago

The allocating and deallocating messages have been removed from the latest 1.11 release. You can also disable the logging:

[self.phHueSDK enableLogging:NO];