Skip to main content
2 votes
1 answer
67 views

I wrote another question on this earlier, but could not pinpoint the issue on my side, here, I am giving a minimal reproducible code. System Angle version 0.5.6 UV 0.8.22 Python 3.12 Ubuntu 24.04 I ...
Della's user avatar
  • 1,730
0 votes
1 answer
87 views

I try to get logging setup hours:minutes:seconds,milliseconds Example: 11:28:51,284 Actually I get 2025-10-08 11:44:07,658 This is the source with which I try to do it: # --- Logging Setup --- # --- ...
SL5net's user avatar
  • 2,630
2 votes
1 answer
74 views

I wanted to print INFO and ERROR file separately in Python logging. When I use ERROR level, it's writing into both LEVEL defined files. log_config.json: { "version": 1, "...
Veera V's user avatar
  • 135
0 votes
0 answers
44 views

(Edit: skip to the end, this is all just context. I found the core of the issue later) I'm writing a Python UI program that I aim to compile to a .exe with pyinstaller, and for that reason I wish to ...
HydroPage's user avatar
  • 231
1 vote
2 answers
107 views

I would like to see the logging produced by some Python code from within a Jupyter notebook (logging version '0.5.1.2', python 3.12). If I run the following code: import logging logger = logging....
SeF's user avatar
  • 4,299
0 votes
1 answer
81 views

I have a snowflake event table created. The below code inserts log records into event table. import snowflake.snowpark as snowpark import logging def main(session: snowpark.Session): LOGGER = ...
T Prathyusha's user avatar
1 vote
0 answers
60 views

I've got some code that, for reasons not germane to the problem at hand: Must write very large log messages Must write them from multiple multiprocessing worker processes Must not interleave the logs ...
ShadowRanger's user avatar
0 votes
0 answers
78 views

I'm trying to assert the fact that my loggers writes to stdout, but I can't get it to work. I ran the logger in a python file to make sure it outputs something in the standard output. So far, I can ...
Marco Bresson's user avatar
3 votes
1 answer
92 views

In order to show logging messages in a PyQt GUI, I'm using a custom logging handler that sends the logRecord as a pyqtSignal. This handler inherits from both QObject and logging.Handler. This works as ...
mahkitah's user avatar
  • 1,024
0 votes
1 answer
97 views

My python flask/Quart app has the following log format: ## 2025-04-04 05:16:07 INFO Running app... How can I configure the <source> of fluentd config? I have tried: <source> ...
khteh's user avatar
  • 4,280
1 vote
1 answer
308 views

I have this decorator in python 3.11 that sends a signal encoding the arguments to a function call that it decorates, here: def register_action(signal=None): def decorator(func): def ...
KBriggs's user avatar
  • 1,488
0 votes
0 answers
26 views

I would like to change via command-line the logging level of my unit tests - I am talking of the logging level, which means the amount of info that can help me debugging a module that I am testing (...
Lorenzo's user avatar
  • 180
0 votes
0 answers
35 views

import logging import os from pathlib import Path from pydantic import BaseModel, Field, field_validator # Configure logging logging.basicConfig(level=logging.INFO) log = logging.getLogger(__name__) ...
Cthulhu's Rage's user avatar
1 vote
2 answers
67 views

I know the subject sounds counter-intuitive but bear with me. My goal is to have two rotating file log handlers, mostly for logger.exception() calls, one that includes stack traces and one that doesn'...
DaveB's user avatar
  • 554
0 votes
0 answers
37 views

See this question about sending exc_info to a log file but not to the console using Python's logging module. I want the exact same behavior, except that I'm using coloredlogs. How can I do this? ...
kviLL's user avatar
  • 443

15 30 50 per page
1
2 3 4 5
63