808 questions
0
votes
1
answer
69
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. ...
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....
1
vote
2
answers
433
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
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
239
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
236
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 = &...
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
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 ...
1
vote
0
answers
919
views
Github Actions JUnittest Failing: How to get the error report?
I have a git repository where some JUnit-Tests fail in github-actions while local JUnit-Tests are ok.
Is there a way to get the failing report?
from https://github.com/k3b/calef/actions/runs/...
-1
votes
1
answer
198
views
SSIS package recording to log file, when they shouldn't
Our IT people are complaining about the log entries growing on our 2016 SQL Server database. I've tried to limit the logging, but everything I do doesn't seem to help. We are still seeing message ...
0
votes
1
answer
357
views
How to give Permission to Moodle 4.0 to view BBB recorded sessions [closed]
**Hi, I recently installed Moodle 4.0 on my Ubuntu server 20.04 and It came with Big Blue Button Plugin integrated offered by Blindside Networks. The BBB works perfectly fine and records. The problem ...
0
votes
0
answers
159
views
Log levels are not applied in sub packages
Question: Info logs are not output in the subpackage (C2).
Error log output from C2.
Project structure
enter image description here
application-local.yml
logging:
config: classpath:log4j2-prd.xml
...
0
votes
1
answer
32
views
Sepatare different level logs to different files
I need to store logs in a way so,
Info -> App.log
Error -> Error.log.
I am using log4j for logging in my applicaion. I am trying to different level logs in different files but something going ...
0
votes
1
answer
632
views
Not able to create other fields while sending logs on new relic using newrelic_telemetry_sdk in python
I am not able to send logs with other fields like " %(asctime)s-%(correlation_id)s-%(levelname)s-%(message)s- " using any handler in new relic.
I was able to see normal logs in console using ...
0
votes
1
answer
197
views
Are errors logged somewhere by default on Android and iOS?
I have a React Native mobile app on the Apple App Store and Google Play Store. A user observed an error while using the app, but they have since closed the app.
I was debugging locally and I couldn't ...
0
votes
0
answers
66
views
PHP error.log file showing so many NUL lines in Mac
I am working on a mac machine running macOS 13 and using PHP 7.3. When the error_log is using, along with that so many NUL showing in the log file in red background. The file size getting enormously ...
0
votes
0
answers
29
views
How to log PHP errors [duplicate]
I am developing PHP websites on my own and want to turn off displaying error messages to the browser as sites move into production. I thought about setting up Monolog but am worried that with just me ...
0
votes
0
answers
169
views
How to format PHP error_log lines, so it's readable?
I'm working on a site that uses Twig-templates via Timber - and there is this "great" convention, that whenever something is wrong there, the entire Timber::context is written to the error ...
0
votes
1
answer
256
views
How to get error information from logs on a Powershell script to create a scheduled task?
I have a PowerShell script that creates a Scheduled Task. I deploy this script through MEM/Intune and it is currently erroring out. I need to know if there is a way to determine exactly why and/or ...
1
vote
1
answer
91
views
System Outs and Un handled exceptions from Java App is not having a timestamp when logged
Need help here. We have java apps started from our shell scripts in unix using java command and the output is redirected to a nohup file to ensure we capture any SystemOuts and any unhandled ...
5
votes
1
answer
2k
views
Using logging basicConfig with multiple handlers
I'm trying to understand the behaviour of the logging module when using basicConfig with multiple handlers.
My aim is to have warning level on syslog messages, and debug level to a log file.
This is ...
0
votes
0
answers
89
views
Python - how do I create a single log file where I have multiple modules?
Folks,
I want to just have a runlog of whether everything has run as per expectation in the Module that's been written and I made use of logging (and dictConfig) for that purpose. I can see the files ...
1
vote
0
answers
200
views
Db logger auto delete data after a time interval
Trying to implement a DB logger in my Django project
but I am facing a problem in managing the logs in my DB so how can I automatically delete the old records from DB
settings.py
INSTALLED_APPS = ['...
2
votes
0
answers
81
views
Where should I log in a Service-oriented Architecture in NodeJS?
I have a NodeJS app with a Service-oriented architecture; my controllers interacts with services, and services interacts with the data access layer and external APIs. Does anyone know of any best ...
1
vote
3
answers
3k
views
How to log outputs and errors to file without knowing where errors will occur
I have a long script which I run on a remote server and I want to log all outputs as well as error messages to a file.
I know how to log all terminal outputs (e.g. print()) to a .txt file:
# in ...