Skip to content

Commit 3fc60d0

Browse files
authored
Merge pull request #19813 from sorayamajdolashrafi/one-click-log-forwarding-for-java-apps
feat: Add whats new for one click log forwarding java app
2 parents 18f987a + dcf108f commit 3fc60d0

File tree

3 files changed

+34
-0
lines changed

3 files changed

+34
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
title: "1-Click Log Forwarding for Java Applications"
3+
summary: "Quickly enable or disable Java application logs directly in the UI"
4+
releaseDate: "2025-02-12"
5+
---
6+
7+
In software, time is of the essence, especially when an issue may arise that may leave your customers without access to your service. These are the scenarios when you need logs the most. Traditionally, enabling or disabling logs in Java applications required coordinating with DevOps teams, manual configuration, and prolonged downtime. New Relic is excited to introduce a new feature that simplifies this process, adding ease and efficiency to your workflow.
8+
9+
![Java application logs](/images/one-click-java-app-logs.webp "Java application logs table")
10+
11+
## Why is this important:
12+
13+
Engineers often face friction when needing to adjust Java application logging settings for tasks like debugging. This commonly includes rooting through configuration files or waiting for a DevOps team to implement changes, which can disrupt the development cycle.
14+
15+
This new feature allows users to turn Java application logs on and off directly within the curated application UI, through our Server-Side Configuration. This gives users immediate control over logging in their service, streamlining the debugging process and enhancing agility.
16+
17+
## How to Get Started:
18+
19+
1. Ensure your application is running on New Relic version 7.6.0 or higher.
20+
1. Access the Server-Side Configuration in the UI by locating Application underneath the Settings section of the secondary navigation or simply click enable logs in the banner at the top of the APM UI.
21+
1. Turn on the Server Side Configuration toggle next to “Server-side agent configuration”
22+
1. Opt in to Application log forwarding in the secondary radio option
23+
1. Turn on application log forwarding in the main Application log forwarding section of the Server Side Configuration UI.
24+
25+
![Java application settings](/images/one-click-java-app-settings.webp "Java application settings with arrows highlighting where to toggle on the server-side agent configuration and application log forwarding")
26+
27+
## Things to Keep in Mind:
28+
29+
- Only available on Java applications 7.6.0 and higher.
30+
- If you turn on Server Side Configuration and opt-in to each individual section then you will override existing client-side settings for those values in the `.yml` files, or Java properties.
31+
- Will not work if you are managing configurations via environment variables.
32+
- Beyond logging, users can manage other configurations such as application transaction tracing and error handling, providing more control and granularity over their application's operation.
33+
34+
By integrating this feature, New Relic continues to empower teams by reducing friction, accelerating development cycles, and providing deeper insight into their systems, all through a user-friendly interface. Transform your approach to application management and make cumbersome configuration changes a thing of the past—experience the freedom of Server-Side Configuration today!
123 KB
Binary file not shown.
92.4 KB
Binary file not shown.

0 commit comments

Comments
 (0)