Questions tagged [log-level]
79 questions
3
votes
0 answers
Log level for a business validation error
If I have a validation rule that prevents duplicate put requests on an entity , should I log this situation as a error or info in my logs? If I see a error connecting to DB or error calling an external api , I log these as errors. However I want to…

Punter Vicky
- 15,954
- 56
- 188
- 315
3
votes
1 answer
Is R logger's debugger level - FINEST equal to Python's DEBUG?
I'm trying to convert an R script to Python by understanding its functionality.
They've created a logger in R and set the level for the logger. What I'm confused about it is the word FINEST as log level. I haven't come across any such level before…

Underoos
- 4,708
- 8
- 42
- 85
3
votes
2 answers
java.util.logging.Logger has different Level than it's root Logger
In my application at one point I set the root Logger of java.util.logging and all it's handlers to Level.FINEST like this:
Logger.getLogger("").setLevel(Level.FINEST);
for (Handler handler : Logger.getLogger("").getHandlers()) {
…

Jdv
- 962
- 10
- 34
3
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…

HerbalMart
- 1,669
- 3
- 27
- 50
3
votes
1 answer
log4j isolating certain level from a class
I want to ask something on log4j. I have this config file for log4j on activemq. My problem is that I want to log all INFO level messages from every class I have, but I want to log all DEBUG level messages from "TransportConnection" class to a…

Anastasios Andronidis
- 6,310
- 4
- 30
- 53
2
votes
3 answers
Using variable-controlled logging level in Python logger
I want to write a function that will get the requested logging level from the user, i.e. something like:
import logging
logger = logging.getLogger()
def func(log_level: ):
logger.log_level("everything is bad")
Can this be done?

Alexy Grabov
- 151
- 1
- 13
2
votes
1 answer
Limit log level for an android process
I'm trying to limit the log level for the process /system/bin/mm-qcamera-daemon because when the camera strats working (recording video) it generates a lot of logs similar to the following entries:
03-13 12:04:00.241 602 3224 I mm-camera:

rkachach
- 16,517
- 6
- 42
- 66
2
votes
1 answer
LOG4J call only for specific function
asking this as an experiences Log4j user:
We have a pretty big class with lots of debug statements (Logger.getLogger(class).debug("Borrowed connection "+con.getId())... you know what I mean :)
Now I suspect one specific function to not work as…

Jannick
- 2,094
- 3
- 17
- 21
2
votes
1 answer
How to set SBT logLevel for log member of a streams task?
How do you set logLevel when using streams.value.log in an SBT task?
For instance, how can this task's logs be supressed to just Warn logs?:
lazy val mainRunner = taskKey[Seq[File]]("Runs a main method")
lazy val mainRunnerSetting = mainRunner :=…

ecoe
- 4,994
- 7
- 54
- 72
2
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…

Cerulean
- 5,543
- 9
- 59
- 111
2
votes
2 answers
Console is getting flooded with DEBUG messages once click() method is invoked through Selenium and Python
I'm using selenium firefox and my code below generate what i needed but after it finished loading it generated a flooded of debugging messages. What am I doing wrong?
def count_list(self, busienss_seller_url):
seller_url =…

mrWiga
- 131
- 1
- 2
- 13
2
votes
1 answer
How do I correctly pass chrome capabilities into the default webdriver on Katalon studio
I'm currently trying to get a test running on Katalon Studio, and the specific outcome is determined by certain messages showing up in the browser console. I've managed to extract the console logs and can parse them easily enough, but I'm currently…

HarrisonPringle
- 21
- 1
2
votes
1 answer
slf4j simple, is it possible to filter message within the same level?
As titled, I just implemented slf4j simple here and I got a massive noise..
In that output, for example, I'd like to keep only the warns at the end, that is:
[pool-1-thread-1] WARN assimp.Assimp - Collada: No material specified for subgroup <> in…

elect
- 6,765
- 10
- 53
- 119
2
votes
0 answers
Programmatic configuration of logger/appender
How to write below configuration using Java code?
log4j.com.saurabh.util.LogUtil=DEBUG, myAppender
I am working on legacy code which is using log4j 1.x, I don't have choice to upgrade log4j version.
Basically, my requirement is to have session…

Saurabh Agrawal
- 25
- 4
2
votes
1 answer
How can I control log level of plain-text debug files in robot framework?
I have read this documentation which explains how to create plain-text log files during execution. As it says it is a Debug File and All messages got from test libraries are written to them; but I'm looking for a way to control the log level of its…

Zeinab Abbasimazar
- 9,835
- 23
- 82
- 131