Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sso
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
8
Issues
8
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
ai
sso
Commits
8a219c7a
Commit
8a219c7a
authored
Mar 30, 2014
by
ale
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
silence the pyactiveresource logger
parent
d8d5dd4a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
src/sso_server/sso_server/auth/auth_machdb.py
src/sso_server/sso_server/auth/auth_machdb.py
+6
-1
No files found.
src/sso_server/sso_server/auth/auth_machdb.py
View file @
8a219c7a
...
...
@@ -45,8 +45,13 @@ class Updater(threading.Thread):
class
Auth
(
AuthBase
):
def
__init__
(
self
,
config
):
# Make the pyactiveresource logger only report errors.
logging
.
getLogger
(
'pyactiveresource'
).
setLevel
(
logging
.
ERROR
)
# Setup MachDB.
mdb
.
init
(
MACHDB_URL
)
self
.
auth_cache
=
{
'pwcache'
:
{},
'grpcache'
:
{}}
self
.
auth_cache
=
{
'pwcache'
:
{},
'grpcache'
:
{},
'otpcache'
:
{}}
updater
=
Updater
(
self
.
auth_cache
)
updater
.
setDaemon
(
True
)
updater
.
start
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment