]> source.dussan.org Git - nextcloud-server.git/commitdiff
use lower loglevel for token cleanup messages 2175/head
authorRobin Appelman <robin@icewind.nl>
Thu, 17 Nov 2016 09:42:12 +0000 (10:42 +0100)
committerRobin Appelman <robin@icewind.nl>
Thu, 17 Nov 2016 09:42:12 +0000 (10:42 +0100)
Signed-off-by: Robin Appelman <robin@icewind.nl>
lib/private/Authentication/Token/DefaultTokenProvider.php

index 0fdbc4a51dda486e6290e502a273dd3303c2e2eb..ec4cc10c269d9533d749e183032c37ad3b463782 100644 (file)
@@ -252,10 +252,10 @@ class DefaultTokenProvider implements IProvider {
         */
        public function invalidateOldTokens() {
                $olderThan = $this->time->getTime() - (int) $this->config->getSystemValue('session_lifetime', 60 * 60 * 24);
-               $this->logger->info('Invalidating session tokens older than ' . date('c', $olderThan));
+               $this->logger->debug('Invalidating session tokens older than ' . date('c', $olderThan));
                $this->mapper->invalidateOld($olderThan, IToken::DO_NOT_REMEMBER);
                $rememberThreshold = $this->time->getTime() - (int) $this->config->getSystemValue('remember_login_cookie_lifetime', 60 * 60 * 24 * 15);
-               $this->logger->info('Invalidating remembered session tokens older than ' . date('c', $rememberThreshold));
+               $this->logger->debug('Invalidating remembered session tokens older than ' . date('c', $rememberThreshold));
                $this->mapper->invalidateOld($rememberThreshold, IToken::REMEMBER);
        }