Questions tagged [log-level]
79 questions
0
votes
1 answer
Add a global value to all LogLevel only once which will affect everywhere
I have added Logger in my code at serveral places (Log4j).
Like Logger.info(" some thing ");
My log is something like this at so many places,
Timestamp LogLevel SometText SomeMoreText
Whenever any new request comes,
I want to add some value like…

akshay kale
- 79
- 9
0
votes
0 answers
How to save users log in the server in react?
I want to save users' logs to my own server. How can I do that?
And also can I get full stacktrace like development server in the production? Thanks in advance.

Pallab Naskar
- 59
- 1
- 6
0
votes
0 answers
Set log level info dynamically by environment to log4j with spring-boot-starter-log4j2
I would like to set the log level info depending on the environment (develop, stage, prod), in a spring app. I tried creating different log4j.xml files and setting in the application.proopreties the configuration required for each env. For instance…

rasilvap
- 1,771
- 3
- 31
- 70
0
votes
1 answer
What happens after I change the log level to debug in the docker-compose file in my server? How can I start debugging
I am very new to both servers and Docker. I am trying to have a jwt authentication in my web app (Jitsi-meet is integrated). But I couldn't do it. Then I was suggested that I change the "prosody" variable's log level to DEBUG. And thus I…

codertryer
- 359
- 3
- 12
0
votes
1 answer
Python different log level for outputfile an terminal
Is there a way, without using an external module, to set the logging level for terminal output to info, and the logging level for writing a *.log to warning?
Why do I ask?
I have a script that will run over a long period of time. Therefore I want to…

Moritz Kampfinger
- 95
- 3
- 12
0
votes
1 answer
How to write different log levels into different rolling files in log4j2
I have a log4j2.xml as follows:
…

omid
- 21
- 4
0
votes
1 answer
Logback doesn't change log level in runtime
I am using your com.github.tony19:logback-android:1.1.1-12 library.
After I change my Log Level in Property file, I expect that the Log Level is changed in runtime. But ist doesn't work.
Do you know what could be a Problem?
I have set scan=true and…

Neda
- 125
- 6
0
votes
0 answers
ILogger Asp.net Core not logging Log Level "Information" on IIS 8
I have deployed an Asp.net Core 2 Web application on Windows Server 2012 using IIS 8.
I am not able to log "information" to the Log file, it only logs "Warnings". I have created a custom logger following this link:…

Alvindra Dutt
- 141
- 1
- 3
- 12
0
votes
2 answers
How can I set individual log levels in different Java classes?
(I' new to Java, and I read java.util.logging: how to set level by logger package (or prefix)? already. As it couldn't answer my question, here it is)
I'm developing a system that has private static final Logger log =…

U. Windl
- 3,480
- 26
- 54
0
votes
1 answer
How set log level without @springboottest?
I decided to write a "component" test without "@SpringBootTest". Faced the problem that some settings in application.yml do not work.
I try to change the level of logging - does not work. What am I doing…

Artem K.
- 23
- 6
0
votes
1 answer
simple application with only main class doesn't see logback.xml
My project structure:
As you can see I tried to put logback.xml everywhere.
I want to setup info log level for root logger.
logback.xml:

gstackoverflow
- 36,709
- 117
- 359
- 710
0
votes
1 answer
Java Logging Log levels with multiple handlers including custom handler
I have implemented Java logging with a properties file.
There I use a custom logger with a filehandler and a custom handler.
My problem is, that the log level of the custom handler is not working. This is my…

TheSilent
- 43
- 1
- 7
0
votes
4 answers
Level based Logging in Oracle
I am Kanagaraj. In our stored procedure, we are logging messages at 500 places and logs are stored in a table where we are having some performance issues. We need to split these messages into Debug, Info and Error messages. Based on the level, only…

user454894
- 31
- 1
- 1
- 4
0
votes
1 answer
How to parse my logs in Symfony2 (Monolog\Logger)
I use Monolog\Logger in a service like this :

Gazelle
- 11
- 5
0
votes
1 answer
Different levels of logging with log4net
I must log some methods. In one method I must log everything. In all others method I've just log exception...
I have done this configuration:
...
…

Simone
- 2,304
- 6
- 30
- 79