Questions tagged [log-level]
61 questions
0
votes
1 answer
How to write different log levels into different rolling files in log4j2
I have a log4j2.xml as follows:
…
![](../../users/profiles/11038768.webp)
omid
- 11
- 1
0
votes
1 answer
Loglevel not logging in my React app after proper (?) installation and usage
I have a React app into which I'm trying to install a logger. Loglevel seemed like a good bet and simple.
I installed it via NPM,
npm install -D loglevel
and included it in my React app (which, for what it's worth, was created with…
![](../../users/profiles/2014843.webp)
Cerulean
- 3,591
- 31
- 63
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…
![](../../users/profiles/4316008.webp)
Neda
- 95
- 4
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:…
![](../../users/profiles/5593454.webp)
Alvindra Dutt
- 141
- 2
- 11
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 =…
![](../../users/profiles/6607497.webp)
U. Windl
- 1,916
- 11
- 34
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…
![](../../users/profiles/9384974.webp)
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:
![](../../users/profiles/2674303.webp)
gstackoverflow
- 31,683
- 83
- 267
- 574
0
votes
1 answer
How do I enable "debug" logging of the Docker daemon? (Ubuntu 16.04)
I want to set the verbosity level of the docker deamon in ubuntu 16.04)
Docker version = 1.12.6
The following didn't work:
/etc/docker/daemon.json, setting"debug": true (can not find the file)
docker -d (error docker flag provided but not defined…
![](../../users/profiles/635809.webp)
HerbalMart
- 1,528
- 2
- 24
- 49
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…
![](../../users/profiles/7988182.webp)
TheSilent
- 43
- 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…
![](../../users/profiles/454894.webp)
user454894
- 21
- 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 :
![](../../users/profiles/1990205.webp)
Gazelle
- 11
- 5
0
votes
2 answers
Node JS - Turn on/off logs based on type or levels
Is there a way by which I can turn on/off certain logs, based on its type/levels.
For eg:
I have defined 3 levels: ALL, WARNING, CRITICAL
And I have my Log class, where I will set this. Say I set Level: 'ALL'
So this will log everything, wherever I…
![](../../users/profiles/1196714.webp)
Anish Nair
- 2,978
- 26
- 41
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:
...
…
![](../../users/profiles/968759.webp)
Ciccio
- 1,703
- 3
- 23
- 62
0
votes
1 answer
Rails log levels to files
I want to log warn messages to a file like warn.log, error messages to a file like error.log.
I've googled so many pages and also the StackOverFlow, but I didn't find some parallel topics.
Do you have any good suggestions?
![](../../users/profiles/3057462.webp)
hiveer
- 534
- 6
- 15
0
votes
1 answer
app.config in DEBUG,INFO, etc
I have a problem with app.config in C#.
I wrote an app.config with key and value=DEBUG, while in main I wrote
DEBUG,INFO,WARN AND ERROR.
The problem is that the value doesn't work and it's printing the main into my log without considering the…
user1616148