adium 4231:bdc1b950ef00: Convert these two status messages from ...

commits at adium.im commits at adium.im
Wed Oct 19 03:52:02 UTC 2011


details:	http://hg.adium.im/adium/rev/bdc1b950ef00
revision:	4231:bdc1b950ef00
branch:		(none)
author:		Stephen Holt <sholt at adium.im>
date:		Tue Oct 18 20:51:45 2011 -0700

Convert these two status messages from NSLogs to AILogs.  They happen in successful cases, and we really only need warnings and exceptional cases routed to the system.log.

diffs (24 lines):

diff -r 0d7a88cf86ce -r bdc1b950ef00 Plugins/Purple Service/adiumPurpleMedia.m
--- a/Plugins/Purple Service/adiumPurpleMedia.m	Tue Oct 18 20:29:36 2011 -0700
+++ b/Plugins/Purple Service/adiumPurpleMedia.m	Tue Oct 18 20:51:45 2011 -0700
@@ -298,7 +298,7 @@
 			PURPLE_MEDIA_CAPS_VIDEO_SINGLE_DIRECTION |
 			PURPLE_MEDIA_CAPS_AUDIO_VIDEO);
 
-	NSLog(@"Registering media element types");
+	AILogWithSignature(@"Registering media element types");
 	purple_media_manager_set_active_element(manager, default_video_src);
 	purple_media_manager_set_active_element(manager, default_video_sink);
 	purple_media_manager_set_active_element(manager, default_audio_src);
diff -r 0d7a88cf86ce -r bdc1b950ef00 Source/AdiumAccounts.m
--- a/Source/AdiumAccounts.m	Tue Oct 18 20:29:36 2011 -0700
+++ b/Source/AdiumAccounts.m	Tue Oct 18 20:51:45 2011 -0700
@@ -250,7 +250,7 @@
 			}
         } else {
 			if ([accountUID length]) {
-				NSLog(@"Available services are %@: could not load account %@ on service %@ (service %@)",
+				AILog(@"Available services are %@: could not load account %@ on service %@ (service %@)",
 					  adium.accountController.services, accountDict, serviceUniqueID, service);
 				[unloadableAccounts addObject:accountDict];
 			} else {




More information about the commits mailing list