Questions tagged [log-level]

79 questions
0
votes
2 answers

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, the transformation should execute…
Rownum Highart
  • 187
  • 1
  • 13
0
votes
1 answer

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 worked fine, but when i transferred the…
jka_dk
  • 421
  • 1
  • 4
  • 17
0
votes
0 answers

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, loggings look like this: 2023-06-05 14:33:01.3051…
Dominique
  • 16,450
  • 15
  • 56
  • 112
0
votes
0 answers

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 (currently using 3.0.4). The documentation says to…
spartanhooah
  • 183
  • 4
  • 15
0
votes
0 answers

Where can I apply sourcemaps in my Loki Grafana flow, so that stacktraces are useful?

Where/how can I apply TypeScript & minification sourcemaps in my FluentBit → Loki → Grafana flow, so that stacktraces are useful? Apologies if the question is daft - I am a back-end developer, but want to enable my colleagues React UI to push…
Jason
  • 915
  • 6
  • 6
0
votes
2 answers

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) code. Is there a way to know default log level…
ambikanair
  • 4,004
  • 11
  • 43
  • 83
0
votes
2 answers

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 levels. if this true, i expect they should use more…
0
votes
0 answers

loglevel-plugin-prefix - How to get the function name or the log line number with filename in the log?

I'm using loglevel and loglevel-plugin-prefix using the below code I'm able to get the date & time, logLevel, Message, loggerName. Is there any way to get the function name or the line number with the fileName/path of the log? import * as loglevel…
Yash Chauhan
  • 174
  • 13
0
votes
1 answer

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 say connectionpool.py. How can i set…
Patrick Rode
  • 120
  • 1
  • 13
0
votes
1 answer

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 them on the console. Is there a way to do…
tsb5555
  • 321
  • 3
  • 13
0
votes
2 answers

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 the-pod | awk '{ if ($3 == "ERROR") { print } }'…
joseluisbz
  • 1,491
  • 1
  • 36
  • 58
0
votes
1 answer

Is there a 'built in' method to get log level as a string and not as an integer in Ruby On Rails?

I want to print the log level of our Rails web app. I get the log level as an integer when I run Rails.logger.level My question - is there a built-in method to get the log level as a String("DEBUG","INFO" etc) I can write a code to translate…
nadavgam
  • 2,014
  • 5
  • 20
  • 48
0
votes
1 answer

How in Ruby on Rails(6.1) the log levels are decided?

I want the debug logs to appear in info log level so that other unnecessary logs from debug do not appear inside production. The statement configure.log_level= :info is already written inside production.rb file, but i am not able to see rendered…
0
votes
0 answers

How to make logger.Information("Hello") when MinimumLogLevel : "Error" In Serilog C#

How I can do logger.Information() in method, If I have LogLevel:Error. Here's my serilog configuration in appsettings.json : "Serilog": { "MinimumLevel": { "Default": "Error" } }, "WriteTo": [ { "Name":…
Daniel
  • 61
  • 6
0
votes
1 answer

Changing logging Level for Kafka Consumer/Producer/ Streams-Application

I found that Kafka by default prints everything as stderr I want to change that and i found i have to add an log4j.properties file I have created one and added properties that atleast should change it for an consumer but everything is still written…