Registry / observability / fbscribelogger

fbscribelogger

JSON →
library0.1.7pypypiunverified

FBscribeLogger is a Python logging library that provides structured logging with support for Facebook's scribe logging system. It allows you to log messages in a key-value format and send them to scribe or other log aggregators. The current version is 0.1.7, with a release cadence that appears to be sporadic.

pip install fbscribelogger
INSTALL
IMPORT
SIG · FBSCRIBELOGGER
F
fbscribelogger
observabilitypythonv0.1.7
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

FBscribeLogger
from fbscribelogger import FBscribeLogger
from fbscribelogger import FBscribeLogger

Basic usage: create an FBscribeLogger instance with host and port, then log with extra data.

import logging from fbscribelogger import FBscribeLogger logger = FBscribeLogger(host='scribe.example.com', port=1463) logger.info('Test message', extra={'key': 'value'})
Debug
Known issues
gotchaThe library is not actively maintained. It has not been updated since 2020 and may have compatibility issues with newer Python or requests library versions.
fix
Consider using a more modern structured logging library like structlog or python-json-logger.
affects: all
breakingRequires Python >=3.8.1, but the library itself is written for Python 2/3 and may have unicode issues in Python 3.
fix
Ensure your environment is Python 3.8.1+ and test logging of non-ASCII characters.
affects: >=0.1.7
deprecatedThe Scribe protocol is deprecated at Facebook. The library may still work but is no longer recommended for new projects.
fix
Use a standard logging handler or send logs via HTTP to a modern aggregator.
affects: all
Upgrade
Version history
0.1.7latest on PyPI · released Nov 15, 2024
Audit
Dependencies
requestsrequiredUsed for HTTP requests to scribe endpoint
sixrequiredPython 2/3 compatibility
Agent activity
14 hits · last 30 days
node
12
OpenAI (training)
2
Resources
fbscribelogger — pip install fbscribelogger · libregistry