Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
reg-app
Regapp
Commits
297bc8cd
Commit
297bc8cd
authored
Oct 23, 2015
by
michael.simon
Browse files
change some loglevels to trace to avoid too much logging in debug
parent
54cda1fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
bwreg-webapp/src/main/java/edu/kit/scc/webreg/sec/AuthorizationBean.java
View file @
297bc8cd
...
...
@@ -101,7 +101,7 @@ public class AuthorizationBean implements Serializable {
start
=
System
.
currentTimeMillis
();
UserEntity
user
=
userService
.
findByIdWithStore
(
sessionManager
.
getUserId
());
end
=
System
.
currentTimeMillis
();
logger
.
debug
(
"user find by id with store loading took {} ms"
,
(
end
-
start
));
logger
.
trace
(
"user find by id with store loading took {} ms"
,
(
end
-
start
));
if
(
sessionManager
.
getGroupSetCreated
()
==
null
||
(
System
.
currentTimeMillis
()
-
sessionManager
.
getGroupSetCreated
())
>
groupsTimeout
)
{
...
...
@@ -115,13 +115,13 @@ public class AuthorizationBean implements Serializable {
sessionManager
.
setGroupSetCreated
(
System
.
currentTimeMillis
());
end
=
System
.
currentTimeMillis
();
logger
.
debug
(
"groups loading took {} ms"
,
(
end
-
start
));
logger
.
trace
(
"groups loading took {} ms"
,
(
end
-
start
));
}
start
=
System
.
currentTimeMillis
();
userRegistryList
=
registryService
.
findByUserAndNotStatus
(
user
,
RegistryStatus
.
DELETED
,
RegistryStatus
.
DEPROVISIONED
);
end
=
System
.
currentTimeMillis
();
logger
.
debug
(
"registered servs loading took {} ms"
,
(
end
-
start
));
logger
.
trace
(
"registered servs loading took {} ms"
,
(
end
-
start
));
unregisteredServiceList
=
serviceService
.
findAllPublishedWithServiceProps
();
...
...
@@ -185,7 +185,7 @@ public class AuthorizationBean implements Serializable {
}
}
end
=
System
.
currentTimeMillis
();
logger
.
debug
(
"Role loading took {} ms"
,
(
end
-
start
));
logger
.
trace
(
"Role loading took {} ms"
,
(
end
-
start
));
sessionManager
.
setRoleSetCreated
(
System
.
currentTimeMillis
());
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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