808 questions
0 votes
1 answer
70 views
How to get actual return code when SQL Continue Handler seems to zero it?
I created a Linux DB2 stored procedure for the purpose of either dropping or adding 7 constraints over 5 tables. I always want to do all 7 and just report individual return codes (SQLCODE) from each. ...
1 vote
1 answer
187 views
How to write warnings and error generated in rendering rmarkdown file in a log file?
I have a rmarkdown setup to take input of csv data and saves results in xlsx and word file. I am rendering the rmd file within trycatch to save the warnings created within in a log file. But looks ...
0 votes
1 answer
47 views
Why does using console.error always show an empty message in twilio function logs?
The twilio error logs indicate they can record error messages of some kind (they have a "Message" section in "Properties" near the top of each error event). https://console.twilio....
0 votes
1 answer
40 views
How to log all errors related to an API request in Django Rest Framework along with multiple fields in a CSV file?
I want to log any type of error that occurs during an API request in Django Rest Framework into a CSV file, including the error message along with additional details like username, user ip, url, etc. ...
1 vote
2 answers
443 views
LoggerMessage and Event Log IDs
Using .NET 9, I have created a Windows Service following Microsoft tutorial. As per this tutorial, my code looks like: public sealed class WindowsBackgroundService ( MyService _myService, ...
0 votes
0 answers
131 views
Export Open Telemetry Collector (otel contrib) export logs to a file instead of event viewer
I have the following definition in Open Telemetry Collector (otel contrib) config.yaml, and this writes the 'error' level logs into the Event Viewer. example screenshot service: telemetry: ...
0 votes
1 answer
18 views
.NET App w/ React Deployed to ElasticBeanstalk. App never starts
I feel like I've tried everything. I have a .NET Web API that I deployed but don't seem to be able to tell if the app even started. The app is essentially a starter app that serves react AND API ...
0 votes
1 answer
138 views
Multiple the same error logging in Application Insights if code is executed by trigger via Azure Function
I have an Azure Function Time Trigger which is run each minute to recalculate some state - in other word the code is rerun each minute to calculate something. The problem I am facing is that if I have ...
0 votes
1 answer
240 views
How to change the PostHog project at runtime in Flutter?
I'm planning to integrate PostHog into my Flutter program. After the user logs in to my app, I want to modify the PostHog project. Add your PostHog configuration to the AndroidManifest.xml file: <...
1 vote
0 answers
125 views
Laravel 8: Custom logging overriding error_log
I have a Laravel/Lumen 8 API that in the background includes legacy standard PHP code to provide some functionality. This code is also used in parallel by a separate application, so it has to remain ...
1 vote
0 answers
241 views
Logging to stdout and to file if level of the log is Err with zerolog and GIN
I want to set the default logger GIN is using zerolog and print to the os.Stdout, but when log level is error it should print it to a file in func main.go func main() { zerolog.TimeFieldFormat = &...
1 vote
0 answers
24 views
gradle error in expo while making .apk file?
I am getting error while making .apk file using expo from react native code project in windows 10. I made this project as freelancing work. please help me to solve this git error. here I attach a pic ...
2 votes
1 answer
2k views
How to log traceback information using structlog
I'm trying to set up an ELK based observability system in our project. So I started with revising a logging system in our Django based project. I have decided to start with structlog in order to ...
0 votes
0 answers
140 views
Symfony authentication failed after a fisrt succeed login
after many hours of search and talk with my friend chatgpt, you are my only hope !! I have a loginController in Symfony and a registration controller as well. When I create a user and after creation, ...
0 votes
1 answer
1k views
rust Axum trace logging automatically pick up errors
I'm trying to set up logging in an Axum app, I have the logging working but the thing that bothers me is the need to do error("OHNOES SOMETHING WENT WRONG") in every single error branch. I ...