/*
- * Copyright (C) 2007-2012 Mathieu Baudier
+ * Copyright (C) 2007-2012 Argeo GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
protected Session login(HttpServletRequest request, Repository repository,
String workspace) throws RepositoryException {
- if (log.isDebugEnabled())
- log.debug("Login to workspace "
+ if (log.isTraceEnabled())
+ log.trace("Login to workspace "
+ (workspace == null ? "<default>" : workspace)
+ " in web session " + request.getSession().getId());
return repository.login(workspace);
public void releaseSession(Session session) {
JcrUtils.logoutQuietly(session);
- if (log.isDebugEnabled())
- log.debug("Logged out remote JCR session " + session);
+ if (log.isTraceEnabled())
+ log.trace("Logged out remote JCR session " + session);
}
public void init() {