stop spamming syslog #350

Closed
kfix opened this Issue Jul 1, 2014 · 8 comments

Comments

Projects
None yet
2 participants
Contributor

kfix commented Jul 1, 2014

related to #249

My ControlPlane installation is updating my syslog every 5 seconds with the list of current contexts. Toggling the unlabeled (?!) Pause button in preferences doesn't disable it, and neither does closing the Preferences panel.

I am using ver 1.5.2

Jul  1 13:50:40 --- last message repeated 5 times ---
Jul  1 13:50:40 fanboy.phx1.kidfixit.com ControlPlane[51223]: {(
        Daytime
    )}
Jul  1 13:51:11 --- last message repeated 5 times ---
Jul  1 13:51:11 fanboy.phx1.kidfixit.com ControlPlane[51223]: {(
        Daytime
    )}
Jul  1 13:51:43 --- last message repeated 5 times ---
Jul  1 13:51:43 fanboy.phx1.kidfixit.com ControlPlane[51223]: {(
        Daytime
    )}
Jul  1 13:52:15 --- last message repeated 5 times ---
Jul  1 13:52:15 fanboy.phx1.kidfixit.com ControlPlane[51223]: {(
        Daytime
    )}
Jul  1 13:52:46 --- last message repeated 5 times ---
Jul  1 13:52:46 fanboy.phx1.kidfixit.com ControlPlane[51223]: {(
        Daytime
    )}
Jul  1 13:53:17 --- last message repeated 5 times ---
Jul  1 13:53:17 fanboy.phx1.kidfixit.com ControlPlane[51223]: {(
        Daytime
    )}
Jul  1 13:53:49 --- last message repeated 5 times ---
Jul  1 13:53:49 fanboy.phx1.kidfixit.com ControlPlane[51223]: {(
        Daytime
    )}
Jul  1 13:54:20 --- last message repeated 5 times ---
Jul  1 13:54:20 fanboy.phx1.kidfixit.com ControlPlane[51223]: {(
        Daytime
    )}
Owner

dustinrue commented Jul 1, 2014

What build are you running?

Contributor

kfix commented Jul 1, 2014

1.5.2 intel osx 10.9

Owner

dustinrue commented Jul 1, 2014

I'm not seeing this in my logs, what evidence sources are you using?

Contributor

kfix commented Jul 1, 2014

sleep/wake
timeofday
activecontext

Contributor

kfix commented Jul 1, 2014

boo NSLog!
https://github.com/dustinrue/ControlPlane/blob/master/Source/ContextEvidenceSource.m#L64
https://github.com/dustinrue/ControlPlane/blob/master/Source/ContextEvidenceSource.m#L66

I turned it off for now as I'm not using it. But it was handy at times, apart from keeping my SSD warm.

kfix closed this Jul 2, 2014

Owner

dustinrue commented Jul 2, 2014

Ha, yea, I'm aware of the trick but I never think to go look at the issue number and then reference it. You can download the build at http://www.controlplaneapp.com/download/CI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment