
org.eclipse.rdf4j.spring.operationlog.package-info Maven / Gradle / Ivy
/*******************************************************************************
* Copyright (c) 2021 Eclipse RDF4J contributors.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Distribution License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: BSD-3-Clause
*******************************************************************************/
/**
*
*
* Rdf4j-Spring OperationLog
*
* Provides query/update-level logging and timing for SPARQL operations.
*
*
* - Use the property
rdf4j.spring.operationlog.enabled=true
to enable, in which case each query is
* logged through slf4j.
* - Use the property
rdf4j.spring.operationlog.jmx.enabled=true
to replace slf4j logging by logging
* using a JMX MXBean,
* org.eclipse.rdf4j.operationlog.OperationStats
*
*
*
* If enabled, bean of type {@link org.eclipse.rdf4j.spring.operationlog.log.OperationLog OperationLog} is instantiated
* that can be used to create a {@link org.eclipse.rdf4j.spring.operationlog.LoggingRepositoryConnectionFactory
* LoggingRepositoryConnectionFactory}, wrapping the
* {@link org.eclipse.rdf4j.spring.support.connectionfactory.RepositoryConnectionFactory RepositoryConnectionFactory}
* used by the application. This is done using spring-autoconfiguration by {@link org.eclipse.rdf4j.spring.RDF4JConfig
* Rdf4JConfig}.
*
* @since 4.0.0
* @author Florian Kleedorfer
*/
package org.eclipse.rdf4j.spring.operationlog;
© 2015 - 2025 Weber Informatics LLC | Privacy Policy