41,789 questions
0
votes
0
answers
14
views
How to Customize Apache NiFi 2.4.0 API Logging to Include Custom Attributes?
I'm using Apache NiFi 2.4.0 and want to extend the default HTTP request logging (nifi-request.log) to include a custom attribute called logType with values like DATA_ACCESS, DATA_EXPORT, or ...
1
vote
0
answers
20
views
Disable Codec2 logs when running a pipeline with qtic2venc on QRB5165
When I run a pipeline with the qtic2venc When I run the encoder on the QRB5165 (Ubuntu 20.04), I receive numerous Codec2 logs in the console. I tried several methods to disable these logs, but none of ...
-3
votes
0
answers
62
views
How do i configure logback to rollover logs and compress at different time interval?
I have a Java application with logback. I have configured hourly log rollover with compression.
While I need logs to rollover every hour, I need compression to happen every two hours. My application ...
0
votes
0
answers
34
views
Uvicorn not getting trace id from otel in error logs (trace_id=0)
I have a test FastAPI application:
from fastapi import FastAPI, Request
from opentelemetry.exporter.otlp.proto.grpc import trace_exporter
from opentelemetry.instrumentation.asgi import ...
0
votes
0
answers
33
views
Using ILogger and Message Templates how does NLog decide date/time format for output?
As part of converting a custom logging solution to ILogger using NLog to output the data, I'm looking at how the "${message}" is generated.
I know for most types, the ToString is used to ...
0
votes
1
answer
70
views
After upgrade to Spring Boot 3.5, ECS logging seems to stop working
In our application we use the Spring Boot built-in logging in ECS format:
logging.structured.format.console=ecs
logging.structured.format.file=ecs
This automagically produces nicely ECS-formatted ...
0
votes
1
answer
25
views
Azure Functions on Linux Flex Consumption: Logging works from browser but not from Python client
I have an Azure Functions app running on a Linux Flex Consumption plan, and I’m struggling to get logging to work properly. When I trigger the function by calling its URL with the function code ...
-2
votes
0
answers
52
views
How to search a regular expression in OpenSearch [closed]
My problem is that trying to recreate pattern from Grafana (Loki aggregator). I'm unable to create same query:
{pod_labels_app="api"}
|= `process_time` # contains: process_time
!~ `"...
0
votes
0
answers
43
views
GCP COS VM docker logs rotation
I have deployed GCP VM with cos-stable-121-12025-08-06 as boot disk. It is running systemd service on boot that is executing script. Script is executing docker image like this:
#!/bin/bash
# Script ...
1
vote
0
answers
32
views
Why isn't python 3 psycopg2 LoggingConnection logging to file?
I have a pre-existing class to handle all the db operations for python3 based queries/updates/inserts to postgres. Now I want to add psycopg2 transaction logging to capture what is actually sent to ...
2
votes
1
answer
56
views
Defining Log4j loggers in both the main `.xml` file and through `XInclude`
I'm having trouble understanding the priority of Log4j loggers when they are defined both in the main .xml file and in files included via the xi:include element. All the XInclude examples I've seen so ...
2
votes
2
answers
95
views
Log format on the console is different from the log format in the output file
I'm using Spring Boot 3.5.3 and I'm having a different format between the log from console and the output log file generated.
Here is my log dependency:
<dependency>
<groupId>org....
3
votes
1
answer
51
views
LeakCanary: How to log memory leaks using a custom logger?
I started using LeakCanary in my app.
Based on various sources, I found that with this dependency:
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.14'
LeakCanary watches the ...
0
votes
0
answers
15
views
How can I properly propagate the userId from a GatewayFilter (via Reactor Context) down to the WebFilter so that MDC can access it for logging?
I'm using Spring Cloud Gateway with WebFlux. I created a custom filter by extending AbstractGatewayFilterFactory to extract userId from the X-User-Id request header and put it into the Reactor Context....
0
votes
1
answer
82
views
MDC.clear() in dependency not working with interceptor
I have this class in my Spring Boot app:
@Configuration
public class LogContextCleanerConfig {
@Bean
public LogContextCleaner logContextCleaner() {
return new LogContextCleaner();
}
}
I ...