Discover about log levels for FILE and CONSOLE appenders using Logback in Spring Boot.
Also find me here:
Baeldung Editor
David Martinez
David is a Software Engineer with over 10 years of working experience in different industries. Lately, his focus is on cloud-based Java applications. He plays guitar when not coding.
Here's what I've reviewed (so far):
Baeldung on Java
- All
- Testing (36)
- Java (26)
- Spring Boot (23)
- Data (21)
- Spring (20)
- Spring Data (15)
- Core Java (13)
- Security (12)
- Persistence (12)
- Java Concurrency (12)
- Java Streams (11)
- Java IO (11)
- DevOps (11)
- Reactive (10)
- REST (10)
- Maven (10)
- JVM (10)
- Spring WebFlux (9)
- Java Array (9)
- Spring MVC (8)
- NoSQL (8)
- JPA (8)
- Artificial Intelligence (8)
- Java Dates (7)
- JSON (7)
- Architecture (7)
- Spring Web (6)
- Java String (6)
- Java Map (6)
- Java Collections (6)
- XML (5)
- Web Services (5)
- Spring Security (5)
- Spring Persistence (5)
- IDE (5)
- Jackson (4)
- Gradle (4)
- Algorithms (4)
- Spring Cloud (3)
- Logging (3)
- Java Web (3)
- Java Numbers (3)
- Java List (3)
- Jakarta EE (3)
- Docker (3)
- Cloud (3)
- HTTP Client-Side (2)
- Series (1)
- Networking (1)
Google Protobuf ByteString vs. Byte[]
Filed under Data
Discover the differences and similarities between Protobuf ByteString and Byte[]
Execute mTLS Calls Using Java
Filed under Security
Learn how to set up Nginx server with mTLS in Java.
Register ServletContextListener in Spring Boot
Filed under Spring Boot
Learn how to register a ServletContextListener in a Spring Boot application.
Change the Alias of a Key Within a Keystore in Java
Filed under Security
Discover two different methods for changing the alias of a key within a Java keystore.
Restart a Job on Failure and Continue in Spring Batch
Filed under Spring Boot
Learn how to configure and restart a failed Spring Batch job effectively.
Securing Spring AI MCP Servers With OAuth2
Filed under Artificial Intelligence, Spring Security
Learn how to secure an MCP server using OAuth2 in a Spring AI application.
Count the Number of Sign Changes in an Array
Filed under Java Array
Learn how to count the number of sign changes in an array using iterative and functional approaches.
How to Unit Test MapStruct Generated Mappers
Filed under Testing
Learn how to write unit tests for classes with MapStruct-generated mappers.
Baeldung on Linux
- All
- Administration (74)
- Networking (33)
- Security (29)
- Processes (27)
- Network Configuration (22)
- User Administration (17)
- Scripting (17)
- Network Monitoring (15)
- Files (14)
- Web (11)
- Service Management (10)
- Filesystems (10)
- File Editing (9)
- Docker (9)
- File Searching (8)
- Package Management (6)
- Installation (6)
- File Transfer (6)
- File Permissions (6)
- File Viewing (4)
- File Compression (4)
- Boot Process (4)
- Building (2)
- Search (1)
- File Conversion (1)
Background Jobs in a Loop in Bash
Filed under Scripting
Learn several patterns to run background jobs in a loop in Bash.
How To Open Visio Files in Linux
Filed under File Viewing
Discover several options to open Microsoft Visio files in Linux.
How to Find the Drivers Associated With a Device on Linux
Filed under Administration
Learn how determine what drivers your Linux devices are using and how to manage them effectively.
Using Different User-Agents with wget
Filed under Web
Learn how to use custom user-agent strings with wget.
What Time Does cron.daily Run
Filed under Administration
Discover how cron works and how it interacts with components like anacron and systems.
Modify Media Metadata Using Ffmpeg
Filed under Administration
Learn how to modify media metadata using FFmpeg.
Download URLs Using wget
Filed under Web
Explore different techniques for downloading URLs using wget.
Removing Old Versions of Java and Installing New Versions on Linux
Filed under Installation
Learn how to manage your Java versions on Linux and keep them up to date.
How to Have Multiple Default Gateways for Outbound Connections
Filed under Network Configuration
Learn how to configure multiple default gateways in Linux using routing tables and network bonding for enhanced redundancy, load balancing, and effective failover.
Baeldung on Scala
- All
- Scala Collections (7)
- Scala Strings (4)
- Scala IO (3)
- Scala OOP (2)
- Scala Basics (2)
- Build Tools (2)
- Testing (1)
- Scala Web (1)
- Scala Numbers (1)
- Play Framework (1)
- Libraries (1)
Forms in a Play Application
Filed under Play Framework
Discover how to use Twirl within a Play application to create and submit forms.
eventually Block In ScalaTest
Filed under Testing
Learn how to use the eventually block in ScalaTest.
Introduction to ElasticMQ
Filed under Libraries
Learn how to use ElasticMQ with Scala.
Iterate a List Backwards in Scala
Filed under Scala Collections
Learn how to iterate a Scala list backward using only the existing Scala standard syntax constructors.
Remove Elements from the End of a String in Scala
Filed under Scala Strings
Learn how we to remove characters from the end of a String in Scala.
Introduction to Scala.js
Filed under Scala Web
Learn how to create a front-end application in Scala using the Scala.js plugin.
Get a Random Number in Scala
Filed under Scala Numbers
Learn how to generate a random number in Scala.
Find Unique Items in a List in Scala
Filed under Scala Collections
Learn how to find unique items in a list using Scala
Console I/O in Scala
Filed under Scala IO
Learn how to read user input using Scala.
Baeldung on Computer Science
- All
- Security (13)
- Math and Logic (11)
- Networking (9)
- Software Architecture (7)
- Algorithms (7)
- Programming (4)
- Machine Learning (4)
- Data Structures (4)
- Trees (3)
- Artificial Intelligence (3)
- OS (2)
- Graphs (2)
- Web (1)
- Sorting (1)
- Searching (1)
- Graph Traversal (1)
- Deep Learning (1)
What Is the Gradient Norm?
Filed under Machine Learning, Math and Logic
Learn about gradient norms and their applications in machine learning.
Data Structures: Treaps
Filed under Trees
Discover the Treaps datastructure and how it performs with binaray search and heap search.
Creating Videos from Text Prompts With ModelScope
Filed under Artificial Intelligence
Learn how to use text-to-video generation with a special class of generative models called video diffusers.
The Method of Lagrange Multipliers
Filed under Math and Logic
Discover how to use the Lagrange multipliers method to find the maxima and minima of constrained functions.
Difference Between Quantum Computing and Artificial Intelligence
Filed under Artificial Intelligence
Discover the key differences between Quantum Computing and Artificial Intelligence (AI).
Why Use Softmax as Opposed to Simple Normalization
Filed under Machine Learning
Learn how and why to use Softmax instead of simple normalization in a neural network’s output layer.
Positive and Negative Acknowledgments (ACKs)
Filed under Networking
Discover the difference between positive and negative ACKs.
Security: Data Loss Prevention (DLP)
Filed under Security
Learn about DLP and its best practices.
What Is an Aggregate Root?
Filed under Software Architecture
Discover what is an Aggregate Root is in a Domain-Driven Design (DDD).
Baeldung on Kotlin
- All
- Kotlin Collections (6)
- Kotlin Strings (4)
- Kotlin Numbers (3)
- Kotlin Classes and Objects (3)
- Kotlin Arrays (3)
- Kotlin IO (2)
- Kotlin Basics (2)
- Testing (1)
- Patterns (1)
- Libraries (1)
- Kotlin (1)
- Functional Programming (1)
Format Number With Thousand Separator in Kotlin
Filed under Kotlin Numbers
Learn different ways to use a thousand separator in Kotlin.
Testing StateFlows in Kotlin
Filed under Testing
Explore the best practices of unit testing StateFlows: the cases with single and continuous state updates, as well as converting a regular Flow into a StateFlow.
Excluding a Library from All Dependencies in Kotlin DSL in Gradle
Filed under Libraries
Learn how to exclude a library or a transitive dependency using the Kotlin DSL syntax in a Gradle.
Convert Int to Float in Kotlin
Filed under Kotlin Numbers
Learn several methods of converting an Int to a Float in Kotlin.
Iterating Over Components of Object in Kotlin
Filed under Kotlin Classes and Objects
Learn different approaches to iterating over object components.
Railway Oriented Programming in Kotlin
Filed under Functional Programming
Learn how to implement Railway Oriented Programming (ROP) with Kotlin.
How to Get the Name of a Variable in Kotlin
Filed under Kotlin Basics
Learn how to get the name of certain variables in Kotlin.
How to Add List Contents Into a Set in Kotlin
Filed under Kotlin Collections
Discover the various ways of adding List contents into a Set in Kotlin.
Convert an Array to a String
Filed under Kotlin Arrays, Kotlin Strings
Learn how to convert an Array’s content to a String in Kotlin.
Baeldung on Ops
- All
- Docker (15)
- Kubernetes (13)
- DevOps (12)
- Git (8)
- Jenkins (5)
- DevOps Concepts (4)
- Monitoring (2)
- Cloud (2)
Get Files Modified in a PR in GitHub Actions
Filed under Git
Learn how to detect changed files in a PR and on push using GitHub Actions.
Run Google Chrome headless in Docker
Filed under Docker
Learn how to run Google Chrome in headless mode inside a Docker container.
“Network Has Active Endpoints” Error While Removing Network in Docker
Filed under Docker
Learn about Docker networking and how to fix the “Network Has Active Endpoints” error.
Guide to OpenNMS
Filed under Monitoring
Discover OpenNMS, an enterprise-grade open-source network monitoring and management platform.
How to Control systemd With Ansible
Filed under DevOps
Learn how to control a systemd service using Ansible
Execute SQL Script Using Azure DevOps Pipeline
Filed under DevOps
Learn how to execute SQL scripts using Azure DevOps pipelines.
Docker Service vs. Docker Container: Understanding the Differences
Filed under Docker
Explore the differences between Docker containers and orchestrated services.
Migrating a Project to a Different Organization in Azure DevOps
Filed under DevOps
Learn different ways to move an Azure DevOps project between organizations.
How to Prevent Two Pipeline Jenkins Jobs of the Same Type to Run in Parallel on the Same Node?
Filed under Jenkins
Discover several methods you can use to control a Jenkins jobs concurrency on a single node.
Baeldung on SQL
- All
- SQL Functions (5)
- SQL Tables (3)
- SQL Queries (3)
- SQL Operators (2)
- SQL Basics (2)
- Security (1)
- SQL Joins (1)
- SQL Constraints (1)
- Database Concepts (1)
- Database Access (1)
- DML (1)
- DDL (1)
Find the Default Value of a Column in SQL
Filed under DDL, SQL Tables
Learn how to find columns’ default values in SQL and how they affect data integrity.
What Is a Trigger in SQL?
Filed under DML
Learn how to define and modify triggers in PostgreSQL, MySQL, and SQL Server.
What Does Keyword “AS” Do in SQL
Filed under SQL Queries
Learn how to use the AS keyword in SQL queries to rename columns, tables, and subquery results in your queries and enhance the readability and manageability of your SQL code.
Difference Between != and <> for Not Equal in SQL
Filed under SQL Operators
Discover the differeneces between not equal operators in SQL.
Making a Column Nullable in SQL
Filed under SQL Constraints
Learn how to make a column nullable in SQL across PostgreSQL, SQL Server, and MySQL.
Understanding WHERE 1=0 in SQL: When and Why to Use It
Filed under SQL Basics
Discover several useful real-world applications for the WHERE 1=0 clause in SQL: metadata retrieval, query safety, dynamic conditions, and empty table creation.
How to Change the Default Port of MySQL
Filed under Security
Add an extra layer of security by changing Mysql’s default port.
The Relationship Between Primary Keys and Clustered Indexes
Filed under Database Concepts
Discover clustered indexes, as well as their relation to and differences from primary keys.
Calculating SUM() for Multiple Rows with Conditions
Filed under SQL Functions
Learn how to use the SUM function with WHERE, GROUP BY, and other more advanced techniques tu sum multiple rows.