Category "logging"

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

Heroku logs : Service temporarily unavailable. Please try again later

FIRST : When I run in my terminal : heroku logs or heroku logs --tail, I get "Service temporarily unavailable. Please try again later" What does it mean pleas

Does Log4J2 have an equivalent of Log4J's Renderers?

I'm working in a Java solution that is using log4j 2.11 as its logging framework. I'm also using a library that uses a particular POJO extremely frequently. I w

Spark History server not listing completed jars

I'm running Spark standalone jobs in Windows. I would like to monitor my Spark jobs using the spark history server. I have launched spark history server with be

How to test logstash Marker in Junit

I have to create a Junit test for my class logging Map<String, Object> mapMarker = new HashMap<>(); mapMarker.put("input_source", "test_input_source

How to capture all request logs from OPA server

I'm using Open Policy Agent (https://www.openpolicyagent.org/docs/latest/). I'm using it in kubernetes. I have various user traffic going on. I have such contai

log4j2 logs are not getting logged in auto generated log file under logs folder

Here i am trying to save my logs generated during execution in logs file i have used lo4j2.properties with Testng listener to save my logs , my log4j2.propertie

How to read log file from s3 (cloudtrail) in Lambda function

I have just started using aws and have no idea on how to read log files in lambda from s3 that have been created by CloudTrail (using python-boto3)

How to log retries from Polly with ILoggerFactory

Or: How to log from a static method. From https://github.com/App-vNext/Polly you have examples like this one where a logger is magically available: Policy .Ti

Create a decorator that will check if the function will run successfully or throws error?

I have to create a decorator for a event in django and store all args, kwargs, status, etc in django model. So far I am able to store args, kwargs and traceback

What's the worst level log that I just logged?

I've added logs to a Python 2 application using the logging module. Now I want to add a closing statement at the end, dependent on the worst thing logged. If t

Rendering terminal output in the browser

I have a file with a bunch of terminal logs captured with the screen utility. Here's a snippet: [A[0m[27m[24m[J[34m~[39m (base) [38;5;242mbase[39m [35mϱ

Is there a way to extract Nintendo 3DS activity log data and to use it in R

I am using unmodded hard- and software (New Nintendo 2DS XL, newest firmware version). Any ideas or example of how it is done (without installing custom firmwar