Commit 357d9c0c authored by Matija Obreza's avatar Matija Obreza
Browse files

Reduced log levels in SecurityContextUtil

parent cc2d9ee3
......@@ -17,7 +17,9 @@ public class SecurityContextUtil {
return ((AuthUserDetails) authentication.getPrincipal()).getUser();
LOG.warn("No User in security context.");
if (LOG.isDebugEnabled())
LOG.debug("No User in security context, can't specify createdBy/lastUpdatedBy");
return null;
Supports Markdown
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