mirror of
https://github.com/AJaySi/ALwrity.git
synced 2026-04-25 00:45:54 +03:00
[PR #424] Remove module-level logging.basicConfig from runtime modules #731
Labels
No labels
AI Content Agents
AI Content Strategy
AI Content planning
AI Marketing Tools
AI SEO
AI personalization
AI writer
ALwrity Copi-lot
Alwrity web search
Anthropic
DeepSeek
Gemini AI
Integration
LLM
OnBoarding
OnBoarding
RAG knowledgebase Memory
bug
documentation
enhancement
good first issue
help wanted
invalid
openai
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ALwrity#731
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/AJaySi/ALwrity/pull/424
Author: @AJaySi
Created: 3/12/2026
Status: 🔄 Open
Base:
main← Head:codex/remove-logging.basicconfig-calls📝 Commits (1)
d402eb1Remove module-level basicConfig from runtime providers📊 Changes
2 files changed (+1 additions, -8 deletions)
View changed files
📝
backend/api/linkedin_image_generation.py(+0 -1)📝
backend/services/llm_providers/gemini_provider.py(+1 -7)📄 Description
Motivation
logging_config.py.get_service_logger(...)orlogging.getLogger(__name__)) rather than reassigning or initializing handlers locally.logging.basicConfig(...)calls.Description
logging.basicConfig(...)call frombackend/api/linkedin_image_generation.pyand retainedlogger = logging.getLogger(__name__)for local module logging.loguruimport frombackend/services/llm_providers/gemini_provider.pyand preserved the service-specific logger vialogger = get_service_logger("gemini_provider")for a single, consistent logging strategy.Testing
python -m compileall backend/services/llm_providers/gemini_provider.py backend/api/linkedin_image_generation.pyand compilation completed successfully.Codex Task
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.