Questions tagged [log-level]
The log-level tag has no usage guidance.
log-level
82
questions
-1
votes
1
answer
11
views
Implementing client side logger with console.log capabilities
in order to extend console.log in the browser with a few extras (like a timestamp and loglevel) I came up with the following implementation:
const LOG_LEVELS = {
DEBUG: 0,
INFO: 1,
WARN: ...
0
votes
1
answer
93
views
How to programatically get the logging level in Rust?
I have a Rust application using Actix-web. How can I get the defined logging level? I want to execute a method to log something if the logging level is "Debug", otherwise not.
#[tokio::main]
...
0
votes
1
answer
26
views
Scrapy - How to set different log levels for Stdout and File
I would like to know how to set different log levels for log on terminal/stdout vs logging into file.
I would like to have INFO level for terminal and ERROR level for logging into file.
I am updating ...
0
votes
1
answer
516
views
Log Severity not correct in google cloud console
I have a FastApi application which is running on Google Kubernetes engine. Initially, Uvicorn startup logs were being displayed with Severity ERROR in the google console. I added the following logging ...
0
votes
2
answers
55
views
Can I change functionality of Pentaho transformation depending on the LogLevel I choose when running?
I built a PDI (Pentaho Data Integration) transformation and I want to change the logic of the process
according to the Logging level of it's execution, e.g.:
If the LogLevel is BASIC, MINIMAL or lower,...
1
vote
0
answers
40
views
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 ...
0
votes
1
answer
248
views
Unable to change loglevel with springboot admin
Im looking into a springboot application v2.7.10 and wanted to try the codecentric springboot admin to see if i was able to change loglevel runtime.
First i tried the example admin and client which ...
0
votes
0
answers
233
views
How to add log level to an NLog logging?
In a recent project, I have loggings, looking like this:
2022-09-03 00:00:00.7450 | Debug | Company.Server.Communication.Connection.SendMS | Try to send Status
In an older project I've taken over, ...
3
votes
1
answer
402
views
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 ...
0
votes
0
answers
666
views
Change test logging level for Spring Boot 3
Usually if I want to turn the logging on a class up or down, I put this in my application.yml:
logging:
level:
org.foo.Bar: INFO
However, that doesn't seem to be working in Spring Boot 3.x (...
0
votes
2
answers
50
views
What is default log levels for Kubernetes storage sidecars
What would be default log level for Kubernetes storage sidecars such as external-snapshotter, external-provisioner, external-attacher etc. I couldnt get details from code (checked external-snapshotter)...
0
votes
2
answers
169
views
Why do trace and debug level logs give small size "Allocated" and "Mean" result in dotnetBenchMark?
I am working on log severities with dotnet 7. I tried the test dotNetBenchMark library. I have questions about that result. As far as i know, debug and trace level logs have more info than other ...
0
votes
1
answer
73
views
Configure Logging level in Python for each file individually
I'm using
logging.basicConfig(format=log_format, level=logging.DEBUG)
in my main script. I like seeing DEBUG messages in most cases. But I want to hide all DEBUG messages from a certain script - lets ...
0
votes
1
answer
603
views
loglevel-plugin-remote - Send browser logs to server without printing in the browser
I am using loglevel, loglevel-plugin-prefix and loglevel-plugin-remote to send frontend logs to the backend in a React App. I want to be able to send the logs to the backend in prod without printing ...
4
votes
4
answers
9k
views
Get logs from Kubectl POD specifying Level (only ERROR)
I would like to know if is possible to filter logs, only showing ERROR Level
kubectl logs -f -n the-namespace the-pod [LOG-LEVEL?] in example ERROR only
I was trying with:
kubectl logs -f -n bci-api ...