diff options
author | Zach Copley <zach@status.net> | 2010-10-19 12:07:59 -0700 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2010-10-19 12:07:59 -0700 |
commit | 5866493cae0f2877398e5bedfb4261dfefbdf7dd (patch) | |
tree | 3c1496e744dce250266f916e4915b11e3dbcd4f2 /lib/apioauthstore.php | |
parent | e04a6ef93ef7706671ba14f5108690bfe12c1592 (diff) |
OAuth - better log messages
Diffstat (limited to 'lib/apioauthstore.php')
-rw-r--r-- | lib/apioauthstore.php | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/apioauthstore.php b/lib/apioauthstore.php index f3bf0b857..6e0039bdd 100644 --- a/lib/apioauthstore.php +++ b/lib/apioauthstore.php @@ -74,8 +74,13 @@ class ApiStatusNetOAuthDataStore extends StatusNetOAuthDataStore function new_access_token($token, $consumer, $verifier) { common_debug( - 'new_access_token("' . $token->key . '","' . $consumer->key. '","' . $verifier . '")', - __FILE__ + sprintf( + "%s - New access token from request token %s, consumer %s and verifier %s ", + __FILE__, + $token, + $consumer, + $verifier + ) ); $rt = new Token(); |