Commit Graph

117 Commits

Author SHA1 Message Date
📺&🛏️ Dalibor Skrobak
2444d7f332 tutorials/logging-modules/log4j2: removal of unnecessary "${sys" file 2023-02-04 12:29:32 +01:00
Iulian Timis
5f13f0c774 JAVA-17293 Update Java Mail articles for logback 2023-01-28 14:08:43 +02:00
edizor
cfee1f7bea Create README.md
[skip ci]
2023-01-19 07:09:56 +08:00
Martin Winandy
939c0426cf BAEL-6033: Add tinylog 2 examples (#13232)
* BAEL-6033: Add tinylog 2 examples

* BAEL-6033: Rename test methods of tinylog 2 in when-then style
2023-01-11 07:23:43 +05:30
Loredana Crusoveanu
3f4a478c69 Merge pull request #13188 from TomVerkon/master-JAVA-16688
Update Logback Article
2023-01-04 16:07:15 +02:00
panos-kakos
580112ebbe [JAVA-16856] (#13200)
* [JAVA-16856]

* [JAVA-16856] Reverted change

Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-12-27 22:20:12 +05:30
TomVerkon
e692fe26d9 updated logback libraries;
Added logback-core version 1.3.5 to pom
Added slf4j version 2.0.4 to pom
Updated javax.mail version to 1.6.2. Namespace changed to com.sun.mail
Updated javax.activation to version 1.6.2
All changes had to be compatible with jdk 1.8
2022-12-23 20:52:59 -05:00
TomVerkon
5e1c54310f Updated versions to jakarta namespace 2022-12-23 15:46:05 -05:00
TomVerkon
7d74d6e9f9 Update Logback Article
Added logbak-core-1.3.5 to pom
Updated logback.version to 1.3.5
Added slf4j - 2.0.4 to pom
Updated javax.mail from 1.4.7 to javax.mail-api 1.6.2
Updated javax.activation to javax.activation-api 1.2.0
Ran both mvn clean verify and
mvn exec:java -Dexec.mainClass="com.baeldung.logback.Example" without
errors
2022-12-22 15:28:28 -05:00
anuragkumawat
9aadfeba75 Java 15439 PR to check failing test for modules fixed till date (#13150)
* JAVA-15439 Upgrade h2 database version - libraries-testing and deltaspike modules

* JAVA-15439 Fix for hibernate-queries,  hibernate-5,  java-jpa-2,  java-jpa-3 modules

* JAVA-15439 Fix for java-jpa, spring-jpa, spring-jpa-2 modules

* JAVA-15439 Revert changes for java-jpa-2 module

* JAVA-15439 Fix for core-java-persistence-2 and hibernate-exceptions modules

* JAVA-15439 Modules hibernate-mapping-2, read-only-transactions, log4j2, spring-data-eclipselink
2022-12-20 23:17:29 +05:30
collaboratewithakash
5e509b8ca6 backlink removed 2022-11-16 15:21:59 +05:30
collaboratewithakash
ec4625cf26 backlink added 2022-11-16 15:21:29 +05:30
collaboratewithakash
4ffb61d7ca backlink added 2022-11-16 15:19:52 +05:30
collaboratewithakash
9d99ae1214 backlink removed 2022-11-16 15:19:39 +05:30
panos-kakos
4751fd63c8 Java 13966 - Fix integration tests (#12900)
* [JAVA-13966] Fixed test with MODE=LEGACY property

* [JAVA-13966] Reverted h2.version to 1.4.200

* [JAVA-13966] Removed MODE=LEGACY property

Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-10-29 22:04:46 +05:30
Ehsan
19ef6fa55b JAVA-14450: fix log4j2 MapAppender, and JSONLayout integration tests (#12681) 2022-09-02 19:51:27 +05:30
Asjad J
460ebdd6e4 Updated README.md
added link back to the article: https://www.baeldung.com/java-log4j2-file-and-console
2022-08-17 16:40:01 +05:00
Abhinav Pandey
778691a703 BAEL-5677 - Logging to both file and console with log4j (#12550)
* BAEL-5677 - Logging to both file and console with log4j

* Moving from log4j to log4j2

* Correction in class name

* Moving to log4j2 package
2022-08-17 09:35:59 +05:30
Dhawal Kapil
65a28f6724 JAVA-11489 Removed a test that was designed to run for 50 seconds to a
new Manual Test class
2022-05-17 22:04:30 +05:30
Haroon Khan
dced18c70b [JAVA-11417] Fix log4j2 JSON integration test 2022-04-26 20:13:41 +01:00
sampadawagde
2c235f232a JAVA-9825: Upgrade log4j version for modules that use log4j-core library
directly
2022-02-09 16:09:44 +05:30
johnA1331
a0f4c4b439 Update README.md 2022-02-09 13:55:59 +08:00
Jose Vinicius
cdf3df44a5 BAEL-5124 - Adding a module with examples of printing thread info in the log file using log4j (#11704)
* adding a example module for printing thread info in log file using log4j

* - fix: removing submodule

* - fix: Adding submodule

* - fix: Removing `.gitignore`, `README.md`, and `application.properties`.
- fix: Removing Spring boot and adding log4j2 from Maven Central

* - fix: Changing module name as suggested to log4j2-thread-info.
- fix: Fixing log path in log4j2 configuration

* - feat: Removing log4j2-thread-info module
- feat: Adding example code into existing log4j2 module

* - fix: Removing unnecessary logging

* - fix: Separating thread info in the logging pattern

* - fix: package name to lowercase

* lowercasing package name and variable name

* changing package name in configuration

* - fix: formatting

* - fix: formatting imports
2022-02-05 20:22:16 +01:00
Krzysiek
70c641eef2 JAVA-9123: POM properties cleanup 2022-01-17 14:03:32 +01:00
sampadawagde
150dbd10e7 JAVA-9022: Fix formatting of POMs 2022-01-10 22:05:47 +05:30
chaos2418
b417edc421 JAVA-8735: fix logging related integration tests 2021-11-30 09:06:22 +05:30
sampadawagde
2982c91e7d JAVA-8204: Fix formatting of POMs 2021-11-09 16:27:03 +05:30
Dhawal Kapil
5f9befd0c4 Java 3590 (#11367) (#11380)
* Java 3590 (#11367)

* JAVA-3590: updating junit-jupiter dependency in the main pom.xml

* resolving unnecessary mockito stubbings exception

* adding junit-bom in dependency management

* fixing tests which were not getting discovered

* Revert "fixing tests which were not getting discovered"

This reverts commit 2e9ed8df42.

* fixing tests in ninja, open-liberty and spring-ejb

* removing junit4 dependency and replacing it with junit-vintage-engine

* removing junit4 dependency and replacing it with junit-vintage-engine in testing-modules, maven-modules and aws-lambda

* removing junit dependency and replacing it with junit-vintage-engine

* removing junit and replacing it with junit-vintage-engine

* fixing tests that were not getting discovered due to old version of junit:junit

* updated failsafe plugin configuration to skip integration tests in blade

* fixing tests that were not getting discovered due to old version of junit:junit

* fixing tests in libraries and libraries-2 modules

Co-authored-by: chaos2418 <>

* Java 3590 - fixing integration tests in restx and spring-5-webflux (#11382)

* JAVA-3590: updating junit-jupiter dependency in the main pom.xml

* resolving unnecessary mockito stubbings exception

* adding junit-bom in dependency management

* fixing tests which were not getting discovered

* Revert "fixing tests which were not getting discovered"

This reverts commit 2e9ed8df42.

* fixing tests in ninja, open-liberty and spring-ejb

* removing junit4 dependency and replacing it with junit-vintage-engine

* removing junit4 dependency and replacing it with junit-vintage-engine in testing-modules, maven-modules and aws-lambda

* removing junit dependency and replacing it with junit-vintage-engine

* removing junit and replacing it with junit-vintage-engine

* fixing tests that were not getting discovered due to old version of junit:junit

* updated failsafe plugin configuration to skip integration tests in blade

* fixing tests that were not getting discovered due to old version of junit:junit

* fixing tests in libraries and libraries-2 modules

* fixing integration tests in restx and spring-5-webflux

Co-authored-by: chaos2418 <>

Co-authored-by: chaos2418 <92030908+chaos2418@users.noreply.github.com>
2021-10-29 09:37:04 +05:30
johnA1331
c0d6b06432 Update README.md 2021-09-24 15:14:53 +08:00
kwoyke
3252bebde6 JAVA-7133: POM Properties Cleanup (#11229)
* JAVA-7133: Use common org.slf4j.version property

* JAVA-7133: Use common logback.version property
2021-09-16 22:34:26 +05:30
freelansam
69a1db0eb0 JAVA-6475: Fix formatting of POMs (#11087)
* JAVA-6475: Fix formatting of POMs

* correct build error
2021-08-03 00:27:15 +05:30
johnA1331
05ada0f7a0 Update README.md 2021-06-17 00:57:30 +08:00
Bhabani Prasad Patel
5b9641c705 Merge branch 'eugenp:master' into master 2021-06-10 13:37:46 +05:30
Bhabani Prasad Patel
b1deb863e6 tab space fixed 2021-06-08 07:36:22 +05:30
KevinGilmore
b2516200f2 BAEL-4724: add link back to article (#10873) 2021-06-06 10:32:48 -05:00
Bhabani Prasad Patel
d569f7892a Adding 4 spaces space in pom.xml 2021-06-06 09:07:07 +05:30
polomos
4b311d5204 BAEL-4724 Fixing log4j's "no appender found" warning (#10802) 2021-06-04 22:26:27 -05:00
Bhabani Prasad Patel
71208c4185 Code commit for tabs to space and line continuation 2021-06-04 10:55:45 +05:30
Bhabani Prasad Patel
4d8c9faf0d Pushing commit for BAEL-4999 2021-06-02 10:39:07 +05:30
Bhabani Prasad Patel
dab6328edd Code commit for BAEL-4999 2021-06-02 10:38:49 +05:30
sampadawagde
f65c72951d JAVA-5223: Fix formatting of POMs (Part 9) 2021-05-09 17:29:24 +05:30
Krzysztof Woyke
addfae46e7 JAVA-3578: Verify sub-modules - logging-modules 2021-03-30 21:00:58 +02:00
Krzysztof Woyke
b18d260514 JAVA-4931: Cleanup surefire config. Part 2. 2021-03-29 18:57:35 +02:00
fdpro
650c8438b4 [JAVA-1662] Upgraded junit-jupiter version to 5.6.2 2020-09-10 12:26:56 +02:00
fdpro
2b91263b68 [JAVA-1662] Migrated maven-surefire-plugin version to 2.22.2 2020-09-10 12:22:23 +02:00
Krzysiek
15f56b7cbe JAVA-2431: Fix README.md files 2020-08-27 22:16:56 +02:00
Krzysiek
0a86a4f2ae JAVA-2431: Migrate log-mdc to parent-spring-5 2020-08-26 21:38:26 +02:00
Loredana Crusoveanu
485b4e3e99 Revert "BAEL-4134" 2020-07-07 14:18:10 +03:00
Chirag Dewan
d9de4cc19a BAEL1731 Adding listappender 2020-05-04 18:11:12 +05:30
Chirag Dewan
3fd09783c9 BAEL1731 Log4j2 Plugins 2020-04-29 08:29:17 +05:30