Commit dac310f1 authored by Matija Obreza's avatar Matija Obreza

Cleanup & logging

parent c8d1fa1e
......@@ -103,7 +103,6 @@ public class UserServiceImpl implements UserService {
if (user == null) {
return null;
}
System.out.println("*** getUserDetails ***");
final boolean enabled = user.isEnabled();
final boolean accountNonExpired = !user.isAccountExpired();
final boolean credentialsNonExpired = !user.isPasswordExpired();
......@@ -132,7 +131,6 @@ public class UserServiceImpl implements UserService {
}
private Collection<? extends GrantedAuthority> getGrantedAuthorities(User user) {
System.out.println("*** getGrantedAuthorities ***");
final List<GrantedAuthority> grantedAuthorities = new ArrayList<GrantedAuthority>();
for (final UserRole userRole : user.getRoles()) {
......
......@@ -23,9 +23,10 @@ log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %t %5p %c{1}:%L - %m
### set log levels - for more verbose logging change 'info' to 'debug' ###
log4j.rootLogger=info, stdout
log4j.rootLogger=warn, stdout
#log4j.category.org.genesys2=debug
log4j.category.org.genesys2=info
log4j.category.org.hibernate.cfg.Configuration=debug
#log4j.category.org.hibernate.search=debug
#log4j.category.org.apache.tomcat.jdbc.pool=debug
#log4j.category.org.springframework.jdbc.core.JdbcTemplate=debug
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment