use of org.neo4j.server.web.AsyncRequestLog in project neo4j by neo4j.
the class AbstractNeoServer method setUpHttpLogging.
private void setUpHttpLogging() throws IOException {
if (!getConfig().get(http_logging_enabled)) {
return;
}
AsyncRequestLog requestLog = new AsyncRequestLog(dependencyResolver.resolveDependency(FileSystemAbstraction.class), new File(config.get(GraphDatabaseSettings.logs_directory), "http.log").toString(), config.get(http_logging_rotation_size), config.get(http_logging_rotation_keep_number));
webServer.setRequestLog(requestLog);
}
Aggregations