Category "logging"

Find Binary in a dir of text files Python or Bash

I have a series of log files that are all text. If a certain error happens it results in binary being inserted in the text. I want a Python or Bash script that

Can't click on stack trace links in Android Studio anymore

After a recent update for Flutter I found that in Android Studio the package links in stack traces are no longer clickable. This is not the case with Visual Stu

Log Sentry events to stdout

Using the Python Sentry SDK, is it possible to log Sentry events (capture_message, capture_exception, etc.) to stdout, preferably through the logging module? I'

Fluentd does not write logs in one file

I would like to ask, if someone can help with this problem? I would like the fluentd write logs to a single log file, and not create a new one.For example. The

Disappearing handlers of logger in Python

I'm having trouble with using logging for multiprocessing Processes. As I understand all processes are separate ones so each process have their own logger. What

Python 3.9 logger RotatingLogger doesn't write anything into file

I created a simple demo to test my Django project. when i invoke unittest, everything passed and i set logger.info to record log into debug.log. There should be

Pino-tee logs twice on other logs

References: https://github.com/pinojs/pino-tee I have two logs, info.log and error.log but the thing is, when I go to info.log, the log for error.log is there S

How to use S3 as storage for Loki logs?

I am fairly new to Kubernetes, Helm and Loki. I have deployed Loki-stack on my minikube cluster using Helm charts and I am trying to use S3 storage as storage f

Create log files with Serilog only if their is any logs

I want to write different logs on different log files with Serilog by API request. The problem is when the log file configured within LoggerConfiguration(), the

Pycharm "Save console output to file" not working

I see that no file is saved even though I specify a file pathname log.log in the logs tab (Run/Debug configurations of Pycharm)

How to use "On Message" event to check specific message availability over different CAN using Message ID

I am having measurement log data file offline running in CANoe with more than 15 CANS. I want to check the specific CAN message availability from different CAN

Gradle test: println works, logger won't

I'm building a Gradle plugin that does a lot of stuff. I'm testing it. I added a lot of logs... None appear. Yet, if I add println statements instead of logs, t

GCP OPS agent transfer nginx log to cloud logging problem

I followed this link steps to configure nginx.conf and the config.yaml of google-cloud-ops-agent. https://cloud.google.com/stackdriver/docs/solutions/agents/ops

python logging library init.py returns keyerror and acquireLock() is NoneType

Im absolutely not sure which library is causing this or what is causing this but i really would appreciate some help. Although the error isn't messing up with t

How Blazor Server AOP logging?

I would like to implement and use an AOP logging in my Blazor Server .NET 5 (C# 9) application, for generic enter-exit-exception scenarios for the marked method

Pytest logging ignores dependency warnings

I have a simple python script that leads to a pandas SettingsWithCopyWarning: import logging import pandas as pd def method(): logging.info("info") l

Parsing EMV tag 9F4F (Log Format)

I am trying to parse EMV tag 9F4F (Log Format). This returns a string: 9F 27 01 9F 02 06 5F 2A 02 9A 03 9F 36 02 9F 52 06 DF 3E 01 9F 21 03 9F 7C 14 This resul

How to setup frontail with Django and Docker

I am trying to setup Frontail to access the logs for a Django application deployed using Docker locally. Has anyone done this before? There is very little docum

Logback log to different files from the same package

I want to log into two different files, historic.log and applicative.log, from the same package that is com.authenticationservice.user.UserRequest. In the histo

Is there any way to print the pytest parameter names

Whenever pytest is outputting the tests that it has, it always prints out the parameter values, but never the names of the variables. For example: PASSED test_c