Questions tagged [log-level]
79 questions
2
votes
1 answer
different level of log in log4j 2 are not showing correct log
thanks in advance , I have created log4j 2 XML file that creates 3 type of log file - info , debug ,error.
My XML look like this :
…

kalyani
- 23
- 4
1
vote
4 answers
Read filtered log cat(Programmatically)?
How can i read filtered log cat whereLevel is Warning?
That's all i know....
logcat = Runtime.getRuntime().exec(new String[]{"logcat", "-d"});
br = new BufferedReader(new InputStreamReader(logcat.getInputStream()),4*1024);
String line;
final…

Sunny
- 14,522
- 15
- 84
- 129
1
vote
0 answers
SparkNLP messages disabled
When I run the code "spark = sparknlp.start(), it always returns such a message to the terminal, which is very annoying.
23/07/13 14:23:33 WARN Utils: Your hostname, ---------- resolves to a loopback address: -------; using 192.168.28.181 instead…

user22219872
- 11
- 1
1
vote
1 answer
NLog v5 not honoring the finalMinLevel rules for Microsoft.* loggers
Although the NLog settings in appsettings.json should limit the Logger "Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler" to a finalMilLevel "Warn", I am still getting all the trace logs written in all my targets (file and…

Alberto
- 13
- 3
1
vote
1 answer
How can I debug the Sign In With Google (GSI) library?
I'm using the Sign In With Google library (also known as GSI). It's not working as I expect, and I want to debug its behavior. How can I set the log level, or otherwise understand its behavior?

jameshfisher
- 34,029
- 31
- 121
- 167
1
vote
1 answer
Writing logs based on log level in Zend Framework 3
We recently started migrating a project from Zend Framework 1 to Zend Framework 3. With Zend Framework 1, we were using Log4PHP library for application logging. With Log4PHP we are able to log the logs in different files based on log levels (debug,…

Sreejith Pm
- 55
- 1
- 8
1
vote
1 answer
Setting the MinimumLevel in Serilog: is it possible to use a wildcard/regex for the namespace?
Setting the MinimumLevel in Serilog: is it possible to use wildcards/regex the namespace ?
Let's assume that I have my own namespaces with different casing, which need both to be logged on Information.
MyNameSpace
MYNameSpace
Can this be done via…

Stef Heyenrath
- 9,335
- 12
- 66
- 121
1
vote
1 answer
How to separate or filter nginx error log levels
as I understood in nginx I could specify an error log as warn , error , info , debug , ...
my problem is that I wanna have warn logs and error logs on separate files but as you know if I a specify a file for warn logs then It would include error…

smh
- 109
- 1
- 10
1
vote
0 answers
How to change puppetserver loglevel for ELK
I have a puppet server 5.3 which logs to logstash.
Daily I get ~90k messages, 95% of which are with log level INFO.
I would like to get only the WARN and ERROR level but regardless what I try, I still get the INFOs.
This is how I send the data to…

Atanas Stoyanov
- 91
- 8
1
vote
1 answer
How To Set Specific Logger Level in Log4j2
With log4j1 I was able to control an individual logger level but the property statements appear to not be working with log4j2. I have the rootLogger level set to DEBUG and want to suppress the numerous debug logs coming from Authorize.net via…

glez
- 1,170
- 3
- 16
- 42
1
vote
1 answer
Jenkins ignoring java command line option for logging. How to fix it?
I am passing java command line option in Jenkins build configuration in Goals and
Options as -Dorg.slf4j.simpleLogger.defaultLogLevel=warn
But somehow jenkins is ignoring it and I am getting log levels at INFO.
How do I fix this?

Saurabh kukade
- 1,608
- 12
- 23
1
vote
4 answers
Logging implementation of getLevelName method
According to the Doc here and this answer here, asking for a logLevel of my logger should return one of this levelnames
_levelNames = {
CRITICAL : 'CRITICAL',
ERROR : 'ERROR',
WARNING : 'WARNING',
INFO : 'INFO',
DEBUG : 'DEBUG',
…

ΦXocę 웃 Пepeúpa ツ
- 47,427
- 17
- 69
- 97
1
vote
0 answers
override log4net appender threshold
I would like to know if it's possible to override a log4net appender threshold.
Default threshold level for the appender is ERROR, but for some namespaces i would like to log INFO as well, e.g. program start/stop info messages.
For example override…

Johan Kuipers
- 11
- 1
1
vote
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…

Anish Nair
- 3,238
- 29
- 41
1
vote
1 answer
Pantheios set display level in C++
I'm using Pantheios library for logging. I have:
pantheios::log(pantheios::debug, "I'm debug");
pantheios::log(pantheios::informational, "Some info");
Which outputs:
[MyApplication, Jun 14 15:45:26.549; Debug] : I'm debug
[MyApplication.1, Jun 14…

user1307957
- 541
- 3
- 8
- 19