request-logger

A servlet filter that logs requests to the log (slf4j) and writes them asynchronously to the DB. RequestLoggerFilter - logs request info to the DB RequestLoggerFilterPerfJdbc - subclass of RequestLoggerFilter that also logs time spent in JDBC using perf-jdbc RequestLoggerFilterPerfmon4J - subclass of RequestLoggerFilter that also logs time spent in JDBC using perfmon4j By default, uses the "java:/comp/env/jdbc/request-logger" data-source to log to. Can be overridden with the "com.alterion.requestlogger.jdbc.datasource-jndi" system-property. DB schemas for MS-SQL and PostgreSQL are in src/main/sql

License

License

GroupId

GroupId

com.alterioncorp
ArtifactId

ArtifactId

request-logger
Last Version

Last Version

1.1
Release Date

Release Date

Type

Type

jar
Description

Description

request-logger
A servlet filter that logs requests to the log (slf4j) and writes them asynchronously to the DB. RequestLoggerFilter - logs request info to the DB RequestLoggerFilterPerfJdbc - subclass of RequestLoggerFilter that also logs time spent in JDBC using perf-jdbc RequestLoggerFilterPerfmon4J - subclass of RequestLoggerFilter that also logs time spent in JDBC using perfmon4j By default, uses the "java:/comp/env/jdbc/request-logger" data-source to log to. Can be overridden with the "com.alterion.requestlogger.jdbc.datasource-jndi" system-property. DB schemas for MS-SQL and PostgreSQL are in src/main/sql
Project URL

Project URL

https://bitbucket.org/alitovsky/request-logger
Source Code Management

Source Code Management

https://[email protected]/alitovsky/request-logger.git

Download request-logger

How to add to project

<!-- https://jarcasting.com/artifacts/com.alterioncorp/request-logger/ -->
<dependency>
    <groupId>com.alterioncorp</groupId>
    <artifactId>request-logger</artifactId>
    <version>1.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.alterioncorp/request-logger/
implementation 'com.alterioncorp:request-logger:1.1'
// https://jarcasting.com/artifacts/com.alterioncorp/request-logger/
implementation ("com.alterioncorp:request-logger:1.1")
'com.alterioncorp:request-logger:jar:1.1'
<dependency org="com.alterioncorp" name="request-logger" rev="1.1">
  <artifact name="request-logger" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.alterioncorp', module='request-logger', version='1.1')
)
libraryDependencies += "com.alterioncorp" % "request-logger" % "1.1"
[com.alterioncorp/request-logger "1.1"]

Dependencies

compile (2)

Group / Artifact Type Version
org.slf4j : slf4j-api jar 1.7.21
commons-io : commons-io jar 2.4

provided (3)

Group / Artifact Type Version
javax.servlet : javax.servlet-api jar 3.0.1
com.alterioncorp : perf-jdbc jar 1-SNAPSHOT
org.perfmon4j : perfmon4j jar 1.2.3

test (6)

Group / Artifact Type Version
org.slf4j : slf4j-log4j12 jar 1.7.21
junit : junit jar 4.12
org.mockito : mockito-all jar 1.10.19
org.springframework : spring-test jar 4.1.5.RELEASE
org.apache.derby : derby jar 10.11.1.1
org.apache.commons : commons-lang3 jar 3.3.2

Project Modules

There are no modules declared in this project.

Versions

Version
1.1
1.0