python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Initialize VM arguments to the static variable
I am working on the JUL - Log4j 1.x bridge.
I was follow this steps https://stackoverflow.com/a/4318607.
Everything work fine, when I using VM argument:
-Djava.util.logging.manager=org.apache.logging....
Sepi
Votes: 0
Answers: 1
Pring log messages grouped by request in spring boot
I have a Spring Boot application with a very high request rate.
This application do a lot of steps and those steps' log messages become garbled and mixed.
[DEBUG] - Done step1 for user A
[DEBUG] - Ste...
motobói
Votes: 0
Answers: 0
Java Logger usage
I made a custom logger for my project by using java.util.logging:
public class SpotifyLogger {
private static final Logger LOGGER = Logger.getLogger(Logger.GLOBAL_LOGGER_NAME);
public SpotifyL...
Kotaka Danski
Votes: 0
Answers: 2
What is the difference between LOGGER.error(exception.getMessage()) and LOGGER.error(exception.getMessage(), exception)
Like in this picture
I know that both of them works fine but I just wanted to know how are they different from each other? PS: I am a beginner.
Shivam Tiwari
Votes: 0
Answers: 1