]> git.mxchange.org Git - friendica.git/commitdiff
more logging
authorFriendika <info@friendika.com>
Fri, 19 Aug 2011 11:48:54 +0000 (04:48 -0700)
committerFriendika <info@friendika.com>
Fri, 19 Aug 2011 11:48:54 +0000 (04:48 -0700)
include/diaspora.php

index aaae7a7178b3655bb7691f15050f2e74365a2cb8..0be2392d17d3a57149c16f6115e73a2651ff6816 100644 (file)
@@ -26,6 +26,8 @@ function diaspora_base_message($type,$data) {
 function diaspora_msg_build($msg,$user,$contact,$prvkey,$pubkey) {
        $a = get_app();
 
+       logger('diaspora_msg_build: ' . $msg, LOGGER_DATA);
+
        $inner_aes_key = random_string(32);
        $b_inner_aes_key = base64_encode($inner_aes_key);
        $inner_iv = random_string(32);
@@ -96,6 +98,7 @@ $magic_env = <<< EOT
 </entry>
 EOT;
 
+       logger('diaspora_msg_build: magic_env: ' . $magic_env, LOGGER_DATA);
        return $magic_env;
 
 }