Ceki Gulcu
363f0a534e
remove unused parts
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2022-12-10 00:38:56 +01:00
Jonah Graham
171679baa8
SLF4J-574: Add full OSGi headers, especially "uses" clauses
...
Fixes: https://jira.qos.ch/browse/SLF4J-574
This uses the BND tool, via org.apache.felix to generate
the MANIFEST.MF to be fully compliant with OSGi.
Compared to using just the maven-jar-plugin to create
the MANIFEST.MF the uses clauses are added to the
Export-Package
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2022-12-10 00:10:39 +01:00
Ceki Gulcu
3ff2a30e05
start work on 2.0.6-SNAPSHOT
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2022-11-25 13:33:29 +01:00
Ceki Gulcu
7e62e1e691
prepare release 2.0.5
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2022-11-25 12:40:18 +01:00
Ceki Gulcu
3bc58f3e81
add SecurityManager support
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2022-11-24 20:12:00 +01:00
Ceki Gulcu
207bb299c3
start work on 2.0.5-SNAPSHOT
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2022-11-17 21:38:06 +01:00
Ceki Gulcu
35dd7ff1e7
removed unused META-INF/services entry
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2022-11-17 21:25:09 +01:00
Ceki Gulcu
440c2f3000
prepare release 2.0.4
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2022-11-17 21:04:44 +01:00
Ceki Gulcu
43a36303e5
use the class loader that loaded LoggerFactory (instead of the threadContextClassLoader) to find providers
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2022-11-17 20:49:29 +01:00
Piotr P. Karwasz
557bf7c0bd
[SLF4J-548] Fix ServiceLoader usage in servlet environment
...
If both the servlet container and a web application use SLF4J,
`ServiceLoader` calls are susceptible to three problems:
1. The SLF4J copy in the webapp detects the common providers by can not
instantiate them (they implement a different copy of
`SLF4JProviderService`),
2. The SLF4J copy in the common classloader can bind the providers in
the webapp classloader and cause a memory leak,
3. If the server uses a SecurityManager the static initialization of
`LoggerFactory` fails if called by unprivileged code.
This PR should solve these problems.
Signed-off-by: Piotr P. Karwasz <piotr.github@karwasz.org>
2022-11-17 19:28:19 +01:00
Stefan Bischof
632410565b
enhance manifest with capabilities
...
provide for SLF4JServiceProvider (with name attribute
require for registrar
Signed-off-by: Stefan Bischof <stbischof@bipolis.org>
2022-11-14 18:30:33 +01:00
Ceki Gulcu
47c7cc7fa4
clarify Logger.makeLoggingEventBuilder javadoc
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2022-09-28 15:25:09 +02:00
Ceki Gulcu
7cad6082dc
Merge branch 'master' of github.com:qos-ch/slf4j
2022-09-28 13:44:04 +02:00
Kengo TODA
143978ce05
annotates new methods to help static analysis tools
...
Signed-off-by: Kengo TODA <skypencil@gmail.com>
2022-09-28 13:43:36 +02:00
Ceki Gulcu
88b0ee3c1f
start work on 2.0.4-SNAPSHOT
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2022-09-28 13:30:20 +02:00
Ceki Gulcu
b2cb05f16a
prepare release 2.0.3
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2022-09-28 12:15:18 +02:00
Ceki Gulcu
4b5bb41ede
fix SLF4J-546, Fluent logging API doesn't populate timestamp with Reload4JLogger
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2022-09-28 12:05:26 +02:00
Ceki Gulcu
b500a6fdfd
javadoc explaining using multiple markers instead of nested markers
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2022-09-26 19:58:49 +02:00
Ceki Gulcu
d81affb012
comment about ThreadLocal key or value types
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2022-09-26 19:57:31 +02:00
Ashley Scopes
bcbbe40ffd
Reword Marker Javadoc to improve grammar.
...
Signed-off-by: Ashley Scopes <73482956+ascopes@users.noreply.github.com>
2022-09-25 16:05:27 +02:00
Ashley Scopes
3f47f87ccc
Add missing javadoc to SLF4JServiceProvider.java
...
Had to do some digging around the logback-classic alpha release for SLF4J2 API
integration to work out the nature of this behaviour. This should prevent confusion
for developers of other logging implementations in the future.
Signed-off-by: Ashley Scopes <73482956+ascopes@users.noreply.github.com>
2022-09-25 14:49:03 +01:00
Ceki Gulcu
eb1710af7b
start work on 2.0.3-SNAPSHOT, fix SLF4J-564
2022-09-21 23:17:52 +02:00
Ceki Gulcu
0645c18caf
prepare release 2.0.2
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2022-09-20 21:36:11 +02:00
Ceki Gulcu
7c1d86e21e
start work on 2.0.2-SNAPSHOT
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2022-09-14 16:48:41 +02:00
Ceki Gulcu
9752442b6e
prepare release 2.0.1
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2022-09-14 16:27:30 +02:00
Ceki Gulcu
c0f7f16bfb
minor javadoc change
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2022-09-14 16:06:16 +02:00
Ceki Gulcu
593f89f85a
fix SLF4J SLF4J-560
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2022-09-14 15:39:40 +02:00
Marc Wrobel
24788ac731
fix typos in documentations
...
Fix typos in javadoc, comments and README.
Signed-off-by: Marc Wrobel <marc.wrobel@gmail.com>
2022-08-25 20:48:13 +02:00
Ceki Gulcu
05c0b0a881
fix SLF4J-555
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2022-08-23 22:42:13 +02:00
Ceki Gulcu
a4f165689f
use https links
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2022-08-22 16:36:38 +02:00
Ceki Gulcu
15d4c1fdd6
fix path to codes.html
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2022-08-22 15:01:17 +02:00
Ceki Gulcu
51ceaf6224
start work on 2.0.1-SNAPSHOT
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2022-08-20 21:31:19 +02:00
Ceki Gulcu
0614d467d7
prepare release 2.0.0
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2022-08-20 21:04:05 +02:00
Ceki Gulcu
b1afcd01b1
javadoc edits
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2022-08-07 00:04:53 +02:00
Ceki Gulcu
20cd3ad0ab
start work on 2.0.0-SNAPSHOT
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2022-08-07 00:04:28 +02:00
Ceki Gulcu
aeebb6199d
prepare release 2.0.0-beta1
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2022-08-06 23:31:54 +02:00
Ceki Gulcu
1068cd0eb9
javadoc changes
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2022-08-06 23:25:49 +02:00
Ceki Gulcu
4e4e56a2df
add CheckReturnValue annotation in org.slf4j.helpers
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2022-08-06 22:44:44 +02:00
Ceki Gulcu
0dcfa19040
check for return value in some oggingEventBuilder methods
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2022-08-06 22:03:35 +02:00
Ceki Gulcu
e7ca8d17c8
start work on 2.0.0-beta1-SNAPSHOPT
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2022-08-06 21:26:09 +02:00
Ceki Gulcu
2314de9dd9
add setMessage and log method to the fluent API
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2022-08-05 22:46:46 +02:00
Ceki Gulcu
508a796552
set version to 2.0.0-beta0
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2022-08-05 22:00:48 +02:00
Ceki Gulcu
d93a5e0456
minor javadoc changes
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2022-07-21 12:46:38 +02:00
Ceki Gulcu
9dd3de0511
fix name of variable
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2022-05-05 20:36:48 +02:00
Spencer Thomas
98728180ac
Update EventRecodingLogger name to EventRecordingLogger (SLF4J-549)
...
Signed-off-by: Spencer Thomas <srt4@uw.edu>
2022-05-05 10:20:39 -07:00
Ceki Gulcu
aa0de34dc6
start work on 2.0.0-alpha8
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2022-03-17 20:45:02 +01:00
Ceki Gulcu
5fcbb283a3
slf4j-log4j12 relocated, prepare release 2.0.0-alpha7
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2022-03-17 18:38:36 +01:00
Ceki Gulcu
6df6053c24
caller data extraction support - SLF4J-511
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2022-03-09 23:08:54 +01:00
Ceki Gulcu
10bd70ca75
start work on 2.0.0-alpha7-SNAPSHOT
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2022-01-13 17:01:39 +01:00
Ceki Gulcu
66e9c2555f
prepare release 2.0.0-alpa6
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2022-01-13 16:56:49 +01:00
Ceki Gulcu
f09e33dd15
add support for keyed deques in MDC
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2022-01-05 22:11:03 +01:00
Ceki Gulcu
23c8cc0121
fix SubstitutableLoggerTest
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2022-01-05 22:09:05 +01:00
Ceki Gulcu
62a265d3c5
add keyedStack interface to MDC - SLF4J-531
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2022-01-02 23:26:23 +01:00
Ceki Gulcu
59100d75e1
add atLevel method to SubstituteLogger
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2021-12-24 11:39:21 +01:00
Ceki Gulcu
7c62cf8254
added atLevel method to Logger
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2021-12-16 18:25:14 +01:00
Ceki Gulcu
c61f01783a
added at() as an alias for makeLoggingEventBuilder()
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2021-12-16 00:56:42 +01:00
Ceki Gulcu
ce15e71dd8
less drama
2021-12-15 08:51:26 +01:00
Ceki Gulcu
98f1f2f465
fix typo in version name
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2021-09-27 23:23:14 +02:00
Ceki Gulcu
590434e55f
start work on 2.0.0-alpha6-SNAPSNOT
2021-08-30 21:38:21 +02:00
Ceki Gulcu
0a34a87495
preparing release of 2.0.0-alpha5
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2021-08-30 18:02:34 +02:00
Davide Angelocola
6e784e4ca3
minor code cleanups
...
- more private final fields
- avoiding C-style array declarations
- few typos, notably JPlarformLogger -> JPlatformLogger
Signed-off-by: Davide Angelocola <davide.angelocola@gmail.com>
2021-08-29 19:40:02 +02:00
Davide Angelocola
c7d79d86a9
upgrading code to Java 8
...
- for each
- diamond operator
- some typos
Signed-off-by: Davide Angelocola <davide.angelocola@gmail.com>
2021-08-25 19:52:31 +02:00
Ceki Gulcu
66aed4dfb1
javadoc fix
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2021-08-13 14:41:53 +02:00
Ceki Gulcu
ccbd8f8c96
start work on 2.0.0-alpha5-SNAPSHOT
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2021-08-12 23:47:02 +02:00
Ceki Gulcu
7836be3be5
minor last minute fixes
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2021-08-12 23:20:04 +02:00
Ceki Gulcu
c2e02170bb
preparing 2.0.0-alpha4 release
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2021-08-12 22:34:32 +02:00
Ceki Gulcu
e240abe9b1
testing caller info extraction with slf4j-jpl
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2021-08-12 22:28:39 +02:00
Ceki Gulcu
eaa9fae39d
ongoing work on the slf4j-jdk-platform-logging
2021-08-12 13:05:04 +02:00
Ceki Gulcu
e0448ad699
minor tweaks transparent to users
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2021-08-11 13:49:45 +02:00
Ceki Gulcu
1754a89208
start work on 2.0.0-alpha4-SNAPSHOT
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2021-08-10 19:54:16 +02:00
Ceki Gulcu
551283ba4c
prepare release 2.0.0-alpha3
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2021-08-10 19:54:16 +02:00
Ceki Gulcu
e6d5d12c03
add toString method in KeyValuePair
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2021-08-10 19:54:16 +02:00
Ceki Gulcu
5958599ca9
make fields protected in DefaultLoggingEventBuilder
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2021-08-10 19:54:16 +02:00
Ceki Gulcu
66dda1a323
in DefaultLoggingEventBuilder renamde innerLog to log
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2021-08-10 19:54:16 +02:00
Ceki Gulcu
280129046e
very minor changes
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2021-08-10 19:54:16 +02:00
Ceki Gulcu
8d5df5a41c
move test to test packages
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2021-08-10 19:54:16 +02:00
Ceki Gulcu
fc66b1fc68
correct path for NOPServiceProvider
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2021-08-10 19:54:16 +02:00
Ceki Gulcu
316e59084d
rename org/slf4j/helpers/NOPServiceProvider as NOP_FallbackServiceProvider
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2021-08-10 19:54:16 +02:00
Ceki Gulcu
7483a11dd6
fix SLF4J-516
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2021-08-10 19:54:16 +02:00
Ceki Gulcu
fb1929011f
version should have a SNAPSHOT suffix at this stage
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2021-08-10 19:54:15 +02:00
Ceki Gulcu
5a0eba57e5
allow unit tests to run in a new thread
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2021-08-10 19:54:15 +02:00
Ceki Gulcu
b682787a2e
start work on 2.0.0-alpha3
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2021-08-10 19:54:15 +02:00
Ceki Gulcu
8601beed76
prepare release 2.0.0-alpha2
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2021-08-10 19:54:15 +02:00
Ceki Gulcu
62d6497f6a
fix unit tests
...
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2021-08-10 19:54:15 +02:00
Ceki Gulcu
c233c86457
typo fixes and minor edits
2021-08-10 19:54:14 +02:00
Ceki Gulcu
e74699276b
Fix SLF4J-414
2021-08-10 19:54:14 +02:00
Ceki Gulcu
65eacb35a8
Fix SLF4J-421 and SLF4J-287
2021-08-10 19:54:14 +02:00
Ceki Gulcu
601405b76f
fix bugs detected by SubstituteLoggerTest
2021-08-10 19:54:14 +02:00
Ceki Gulcu
10d78b04d6
fix SLF4J-435
2021-08-10 19:54:14 +02:00
Ceki Gulcu
7547d1c871
add isEnabledForLevel method in Logger
2021-08-10 19:54:14 +02:00
Ceki Gulcu
45b177c2d2
make NOPLoggingEventBuilder constructor private and allow access via the singleton
2021-08-10 19:54:14 +02:00
Ceki Gulcu
730ee35665
removed unused NOPLogger, NOPLoggerFactory and NOPMDCAdapter from slf4j-nop module, these were moved to slf4j-a4j-ap-api module
2021-08-10 19:54:14 +02:00
Ceki Gulcu
3afcb8e8c4
formatting changes only. applied slf4j/codeStyle.xml in Eclipse
2021-08-10 19:54:14 +02:00
Ceki Gulcu
8a83b1bd34
cleaning up deprecated usage
2021-08-10 19:54:14 +02:00
Ceki Gulcu
9558b2103e
the second -jar- goal is redundant
2021-08-10 19:54:13 +02:00
Ceki Gulcu
865c88e340
slightly higher tolerance
2021-08-10 19:54:13 +02:00
Ceki Gulcu
63ac275a5f
unused imports
2021-08-10 19:54:13 +02:00
Ceki Gulcu
ccce832b8f
fix SLF4J-485, LoggingEventBuilder addArgument() should take Supplier<?>, not Supplier<Object>
2021-08-10 19:54:13 +02:00
Ceki Gulcu
b38727956d
formatting changes only
2021-08-10 19:54:13 +02:00
Ceki Gulcu
03c37619d5
fix SLF4J-511
2021-08-10 19:54:12 +02:00