]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Session/CacheSessionHandler.php
some minor fixings
[friendica.git] / src / Core / Session / CacheSessionHandler.php
index 08490818cec448fc2ec9092928a04c9d1028e7fe..6a1b32bfb1686c84b6e0d1954b4d3808cc273662 100644 (file)
@@ -31,7 +31,9 @@ class CacheSessionHandler extends BaseObject implements SessionHandlerInterface
                        Session::$exists = true;
                        return $data;
                }
-               Logger::log("no data for session $session_id", Logger::TRACE);
+
+               Logger::notice('no data for session', ['session_id' => $session_id, 'uri' => $_SERVER['REQUEST_URI']]);
+
                return '';
        }
 
@@ -45,6 +47,7 @@ class CacheSessionHandler extends BaseObject implements SessionHandlerInterface
         * @param  string $session_id   Session ID with format: [a-z0-9]{26}
         * @param  string $session_data Serialized session data
         * @return boolean Returns false if parameters are missing, true otherwise
+        * @throws \Exception
         */
        public function write($session_id, $session_data)
        {