Skip to main content
Filter by
Sorted by
Tagged with
-1 votes
0 answers
42 views

I'm looking for help to suppress very annoying logging - something I am not getting about configuration. In ACA Log stream I keep seeing these log entries: 2025-12-17T15:54:39.257462600Z 2025-12-17 15:...
Andrey's user avatar
  • 478
Advice
0 votes
1 replies
24 views

I got an requirement to configure logging in Fusion Cache (only L1), so that when fail safe is enabled and upon some factory issue we start getting stale values this fact is logged as warn. As this ...
Ceres's user avatar
  • 73
2 votes
4 answers
209 views

I'd like to be able to make a call (e.g., to an API) from within an Azure function, and make a log entry if it is taking longer than n milliseconds, but not interrupt or end the call. Note this is not ...
Jesse Liberty's user avatar
1 vote
1 answer
104 views

I am missing some kind of best practice for implementation of PHP dependency injection and the PSR LoggerInterface. Currently (without dependency injection) I have created my own LoggerFactory with ...
Michael Risbjerg Amstrup's user avatar
1 vote
1 answer
71 views

Python loggers can be organized in a namespace hierarchy (e.g. foo.bar.baz). If a python module uses the native logging module, can I configure logging in my main program such that all logging ...
goweon's user avatar
  • 1,430
0 votes
0 answers
55 views

I am following the instructions provided in Google's Log requests and responses documentation for enabling these logs. We previously had Vertex AI Admin permissions set and enabling/disabling logging ...
JLuxton's user avatar
  • 491
1 vote
1 answer
87 views

The logs received by fluent-bit(forward input) { "date": 1765435213, "log": "{\"time\": \"2025-12-11T06:40:13+00:00\",\"tcpConnectionId\": \&...
si xiao's user avatar
  • 11
1 vote
1 answer
118 views

I have an ASP.NET Core web application running as an Azure App Service. Recently I have noticed our costs for Application Insights has rocketed up. I think this might be due to upgrading to a newer ...
Paul Houghton's user avatar
Best practices
0 votes
2 replies
46 views

If I define a LoggingRoutePolicy extending RoutePolicySupport , how can I associate it with routes that I have instantiated from a template? public class LoggingRoutePolicy extends RoutePolicySupport {...
Cantillon's user avatar
  • 1,648
1 vote
0 answers
68 views

I'm using the DuckDB CLI, version 1.4.2 on macOS. The plan is to use duckdb as a part of a CLI pipeline, not from inside of a Python script, etc. I've already got the tooling to build out the script ...
Morris de Oryx's user avatar
3 votes
1 answer
382 views

I'm in the process of upgrading to .NET 10 and I ran into to this compiler suggestion: CA1873 Evaluation of this argument may be expensive and unnecessary if logging is disabled It references to ...
Maarten Kieft's user avatar
0 votes
1 answer
78 views

I am developing a console application which will run as an Azure Container App. How do I write application logs such that they can be reviewed and monitored using Azure Monitor? I have searched for ...
joki's user avatar
  • 1
Best practices
0 votes
1 replies
93 views

Disclaimer: The question below was met with quite a bit of critisicm. The only reason I did not delete this question is becasue stackoverflow doesnt let me after somebody reacted on it. Also the code ...
Maarten's user avatar
  • 171
Best practices
0 votes
1 replies
49 views

I am wondering how I am supposed to setup a logger for python projects. It makes sense that I can setup a logger for the main file in a project Example: # main.py logger = logging.getLogger('...
trey hannam's user avatar
1 vote
0 answers
123 views

Here is a snippet of how logging is done in my test script: logging.basicConfig( level=logging.INFO, format="%(asctime)s %(message)s", datefmt="%Y%m%d %H:%M:%S", ...
Qiang Xu's user avatar
  • 4,901
3 votes
2 answers
101 views

So, for context, I have started writing a small HTTP-Server for learning purposes. Currently, I have 2 modules: server and logger. The server module uses the logger I wrote internally for logging ...
Puscas Raul's user avatar
1 vote
0 answers
67 views

I have a typed HttpClient, added to DI like this: builder.Services .AddHttpClient<IExternalApiClient, ExternalApiClient>() .ConfigurePrimaryHttpMessageHandler(() => ...
Eugeniy  Maksimov's user avatar
0 votes
2 answers
109 views

I am having an issue formatting the date in the filename using the appsettings.json file for a C# worker service. My current config looks like this: Serilog": { "WriteTo": [ ...
Nathan's user avatar
  • 21
0 votes
0 answers
29 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 ...
Manshu Sharma's user avatar
2 votes
1 answer
100 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 ...
Dmytro D's user avatar
Advice
0 votes
3 replies
95 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 ...
Justinas's user avatar
  • 43.9k
1 vote
1 answer
60 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(...
Alessandro Escher's user avatar
0 votes
0 answers
28 views

For example, we have multiple logs that share the same structure: Order Created { ..."trace": { "order_id":123456, ... }} Order Paid { ..."trace": { "order_id":...
Mostafa El-Marzouki's user avatar
1 vote
0 answers
24 views

I’m using TEAM elevated access for AWS in my organization to temporarily access an Aurora MySQL cluster. TEAM provides database access through a tunneled MySQL session using a generic database ...
Abdullah Masood's user avatar
1 vote
1 answer
56 views

Working version: private static void SetLogging(WebApplicationBuilder builder) { Log.Logger = new LoggerConfiguration() .Enrich.FromLogContext() .MinimumLevel.Override("...
SydneyShoo's user avatar
0 votes
1 answer
107 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 ...
KNaud's user avatar
  • 1
0 votes
2 answers
119 views

How can I write my log messages to database in my quarkus application? I tried to create a ExtHandler like this: package org.myorg; import io.agroal.api.AgroalDataSource; import jakarta.enterprise....
user31855812's user avatar
-1 votes
1 answer
88 views

I’m new to programming. I have a simple push up counter that creates a log to record push ups completed. I cannot figure out a way to modify the program in order to add a fourth option to sum the log ...
Jaimz Jonah's user avatar
1 vote
1 answer
62 views

I do have the following line in my Android app: private Logger logger = LoggerFactory.getLogger(getClass().getSimpleName()); When testing for threads access in strict mode i found the following issue ...
4ntoine's user avatar
  • 20.6k
0 votes
1 answer
69 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 ...
User21749's user avatar
0 votes
0 answers
68 views

I'm using Fluent Bit v4.1.1 with the tail input plugin to collect application logs written by Logback. Log rotation works as follows: test.log → renamed to test.2025-11-08.0.log A new test.log is ...
Tiger's user avatar
  • 11
0 votes
1 answer
108 views

I use std::format in my logging, and it largely works great. However, std::format ignores extra arguments which I do not like. E.g., std::format("x = {}", x, y) compiles, so I want a ...
bers's user avatar
  • 6,321
Advice
0 votes
3 replies
141 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(&...
Nathan's user avatar
  • 21
3 votes
0 answers
140 views

I’m working on a machine learning project using MLflow for experiment tracking (on macOS, Python 3.12, scikit-learn, and DagsHub as the tracking server). The experiment runs successfully — I see the ...
shahar cohen's user avatar
0 votes
0 answers
98 views

Problem Summary I'm using AsgiFunctionApp to wrap FastAPI in Azure Functions, but my application logs are not appearing in the Azure Portal's Invocations tab. The logs do appear in Application ...
tp_mid's user avatar
  • 1
0 votes
1 answer
123 views

I am trying to parse log lines for log anomaly detection, but two log lines are too similar for the parser to keep them apart: [Something] VM Started [Something] VM Paused it parses it to VM <*>...
Natan's user avatar
  • 1,153
3 votes
0 answers
123 views

I have encountered a particular problem while executing a function from the transformers library of huggingface on an Intel GPU wheel of torch. Since I am doing something I normally shouldn't be ...
Logarithmnepnep's user avatar
1 vote
0 answers
61 views

I've been unable to figure this one out and am wondering if anyone has any ideas. This is an ASP.NET Core Web API running as a Windows service. It will log to a file at the absolute path I specify for ...
Pete's user avatar
  • 33
0 votes
1 answer
69 views

I'm working with an API that uses OAuth-based authentication, accepts dynamic JSON payloads, and processes requests asynchronously. After submitting a request, I poll for job status updates. However, ...
Supriya's user avatar
  • 16
0 votes
1 answer
82 views

I have a Flask application running on Gunicorn with 2 workers and 2 threads each (4 concurrent execution contexts). My custom logging function writes to a file without any process-level locking: def ...
user29255210's user avatar
0 votes
1 answer
69 views

I am using a camel route defined in xml. The route starts from this step: <camel:route id="jpaRoute" routePolicyRef="startPolicy"> <camel:from uri="jpa://?...
fascynacja's user avatar
  • 3,196
0 votes
0 answers
126 views

I wanted to override the structlog logger for the whole application, by doing this: import enum from collections.abc import Iterable import structlog from structlog.typing import Processor from ...
comonadd's user avatar
  • 2,018
0 votes
2 answers
151 views

I migrated my Spring Boot application from Logback to Log4j2, but the application is still printing logs using Logback. What I did so far: Added Log4j2 dependencies: org.springframework.boot ...
Ankit's user avatar
  • 603
0 votes
0 answers
81 views

I am developing a Laravel 12 API app with Sanctum authentication (SPA). I am facing a behavior in which Laravel is logging the custom exception twice. The custom exception declaration is as follows: ...
RyeBay's user avatar
  • 1
1 vote
0 answers
44 views

Hello I have a log like this: Aug 18, 2025 9:33:43 PM 161ms ++++++++ Important process trimtables terminated with exit value 143. Aug 18, 2025 9:33:43 PM 161ms ++++++++ Important process SmsGateway1 ...
Álvaro's user avatar
  • 1,388
0 votes
0 answers
68 views

I'd like to ingest server access logs via Fluentbit and then do some modification using the filters and output the results to Redis. All on the same server. Is there a Redis output plugin or would ...
Dan's user avatar
  • 2,573
0 votes
0 answers
71 views

I have this Pino transport with two targets: const transport = pino.transport({ targets: [ { target: 'pino-elasticsearch', options: { /* ... */ } }, { target: 'pino-pretty', options: { /* ......
Gui Oliveira's user avatar
1 vote
1 answer
237 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 ...
RubenLaguna's user avatar
  • 25.6k
2 votes
1 answer
144 views

I am working on configuring a spring boot application to output structured logs. Application Files # application. yaml spring: application: name: dd-log-issue logging: structured: format: ...
Kyle's user avatar
  • 11
1 vote
0 answers
93 views

As per official docs: WILDFLY logging, default is milliseconds. How can I do it for microseconds basically using any elytron or writing a custom script is the only option ? Tried some elytron command ...
Deepak Rawte's user avatar

1
2 3 4 5
835