Category "logging"

Spring Webflux and non-blocking logging with log4j2

It is well known fact we should not block in a Spring Webflux applications. In the SpringOne conferences (2020 and 2020), as well as other conferences, several

Why Log4j2 Doesn't Log Before System.exit(1)

When I use System.exit(1) after logging an error via Log4j2, the system close but the log doesn't be written at log files. In normal situations without using Sy

How to change log level in quarkus application deployed on kubernetes

I have a quarkus application with a standard configuration. The application works as expected, in my local develop environment i'm able to set the log level by

permission error for GCP logging router sink update

When calling sink.reload(), I am getting permission error. 403 The caller does not have permission Any help would be much appreciated. Here's the code: def upd

Add the result of a Powershell Start-Process to a file instead of replacing it with -RedirectStandardOutput

I use the following command in Powershell to convert files in the background but would like to log the results all in one file. Now the -RedirectStandardOutput

Add the result of a Powershell Start-Process to a file instead of replacing it with -RedirectStandardOutput

I use the following command in Powershell to convert files in the background but would like to log the results all in one file. Now the -RedirectStandardOutput

Add trace.id and transaction.id Springboot

I have a Springboot micro-service. For logging I'm using Elastic common scheme, implemented using ecs-logging-java. I want to set the trace.ID and a transactio

Azure : Unable to view custom logs generated by application

I'm running my flask application container on Azure. I followed this tutorial, I configured logging in my application. But it's not stated as to where to view t

A logger embedded in a class loses settings when reading from a pickle

I store my objects with an attribute being a logger in pickle and read them for other programs. I find that the logger's level is lost in the following situatio

Jupyter Hub generate automatic logs

It is possible to generate automatic log for each new Jupyter notebook file that is created? The time, user, cell command and the output of the cell command sho

Why is caplog.text empty, even though the function I'm testing is logging?

I'm trying to use pytest to test if my function is logging the expected text, such as addressed this question (the pyunit equivalent would be assertLogs). Foll

Enable logging in postgresql using docker-compose

I am using Postgres as a service in my docker-compose file. I want logging to log file to be enabled when I do docker-compose up. One way to enable logging is b

Can I use a single elasticsearch/kibana for multiple k8 clusters?

Do you know of any gotcha's or requirements that would not allow using a single ES/kibana as a target for fluentd in multiple k8 clusters? We are engineering r

Kubernetes logs dump for some time range

Is it possible to obtain Kubernetes logs for a dedicated time range? All I can do right now is to make a dump of about the last-hour log for the single pod usin

Java System Logger on WildFly

Since JDK 9 we have a new Java Logging API: https://docs.oracle.com/javase/9/docs/api/java/lang/System.Logger.html https://www.baeldung.com/java-9-logging-api h

Using Attribute and ActionFilters for logging request and response of controller and actions

I am trying to find an elegant way of logging every request and response in my Web API using Filters in Asp.net Core 3.1 rather than have them in each action a

Logging error in Python 3.x : TypeError: a bytes-like object is required, not 'str'

I am on Python 3.6.5. While using logging I am getting the following error - "TypeError: a bytes-like object is required, not 'str'" It worked fine in Python

Android Studio Chipmunk Logcat auto selects "Scroll to the end. Clicking on particular line will stops scrolling" when changing process view

My application crashes for some reason. And then another instance is raised. But I want to view the crash logs in Logcat. The [DEAD] proces is visible on Logcat

VS2022: how to make ASP.NET Core 5 app show it's console window

In VS2019, when I start my ASP.NET Core 5 app, which just exposes an API, if that matters, a console window pops up for that app. There used to be some setting

How to write Robotframework log and any keyword output in one line?

I want to print the output of any built-in or custom keyword using Log command in one line. for eg. Log Evaluate 1 + 2 This shows error that value of INF