Skip to main content
Filter by
Sorted by
Tagged with
3 votes
1 answer
66 views

Problem: I'm using the mongodb/mongodb-atlas-local Docker image in our CI/CD pipeline for running tests. While the verbose logging is acceptable for local development, it becomes problematic in CI/CD ...
Advice
0 votes
3 replies
63 views

I need to add trackability information for all logs. E.g. logged in user and route parameters (entity ID) Right now I have this code: use Monolog\Processor\ProcessorInterface; class RequestProcessor ...
249 votes
7 answers
82k views

In our company in the CI machines maven local repository is purged before every build. As result my build logs always have a bunch of noise like this Downloading: http://.../artifactory/repo/com/...
19 votes
9 answers
11k views

In my application, I'm using python.logging for logging. Now I want to control the loglevel interactively, so i created a combobox hat lets the user select "ERROR", "WARN", "...
0 votes
0 answers
18 views

My Promtail configuration where the replace expressions in the pipeline stages are not working as expected. I’m trying to replace certain keywords in logs from the testing namespace: elevenlabs to ...
225 votes
7 answers
597k views

I need to empty an LDF file before sending to a colleague. How do I force SQL Server to truncate the log?
319 votes
28 answers
310k views

I'm using a python script as a driver for a hydrodynamics code. When it comes time to run the simulation, I use subprocess.Popen to run the code, collect the output from stdout and stderr into a ...
0 votes
1 answer
36 views

I'm trying to isolate the second field, comma-separated, in an already matched substring. My source string is something like this: Info: 10.10.10.10 "TryingToIsolate" - [14/Mar/2016:15:44:00 ...
2 votes
1 answer
14k views

I have a typical scenario where I'm developing a .NET Core library and want the calling application to be able to optionally configure the logging options. Ideally I'd like to use dependency injection ...
1 vote
1 answer
47 views

I have a Java Quarkus application which is using JBoss for logging. I am using a scheduled job via io.quarkus.scheduler.Scheduled like so: private static final Logger LOGGER = Logger.getLogger(...
0 votes
1 answer
12k views

I am getting these errors during ES logging using fluentd. I'm using fluentd logging on k8s for application logging, we are handling 100M (around 400 tps) and getting this issue. I'm using M6g.2xlarge(...
16 votes
1 answer
9k views

Splunk has transaction command which can produce duration between logs grouped by id: 2020-01-01 12:12 event=START id=1 2020-01-01 12:13 event=STOP id=1 as it is described on Query for calculating ...
0 votes
1 answer
98 views

I am currently working on the modernization of a quite large application analyzing large amount of text data. The application is made of executables, launching other executables and so forth. Some of ...
279 votes
30 answers
401k views

I have been using the Spring RestTemplate for a while and I consistently hit a wall when I'am trying to debug its requests and responses. I'm basically looking to see the same things as I see when I ...
1 vote
1 answer
165 views

In principle I want to use slog to produce JSON that contains some specific JSON fields (severity,message, and timestamp). I know I can use ReplaceAttr in HandlerOptions to modify the existing log ...
23 votes
7 answers
19k views

I followed all the docs for the Gemini API, however, I cannot find anything that solves this issue. https://ai.google.dev/gemini-api/docs/quickstart?lang=python WARNING: All log messages before absl::...
55 votes
5 answers
103k views

I have a springBoot all with these dependencies: <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-...
0 votes
2 answers
8k views

My application is supposed to create new folder at Amazon S3 bucket and to put there some logs. The problem is : it just does not happen. S3 bucket exists (I created it before), but no new folder is ...
0 votes
0 answers
43 views

I have a Python application that runs multiple tasks in parallel using ThreadPoolExecutor. I want all threads to log safely without race conditions. I also need two loggers: Console logger (prints ...
1 vote
2 answers
9k views

I am quite new to logstash but I've been spending quite some time in trying to get this right with no success. I am sending my logs from multiple applications on different server via udp to be logged. ...
Advice
0 votes
3 replies
126 views

I am developing an application in C# and my current logging creates a StreamWriter and a FileStream at the beginning of the program like so: //Activate Logging try { streamer = new FileStream(&...
583 votes
49 answers
449k views

Some time ago, I saw a Mono application with colored output, presumably because of its log system (because all the messages were standardized). Now, Python has the logging module, which lets you ...
8 votes
2 answers
6k views

I have a logger application that runs on a Tomcat server. I am using logback on spring boot framework. Below is my logback.xml file <configuration debug="true"> <appender name=&...
234 votes
16 answers
217k views

I'm using the Python logging module, and would like to disable log messages printed by the third party modules that I import. For example, I'm using something like the following: logger = logging....
210 votes
9 answers
116k views

For simple debugging in a complex project is there a reason to use the python logger instead of print? What about other use-cases? Is there an accepted best use-case for each (especially when you're ...

1
2 3 4 5
835