{"id":24576,"library":"seqlog","title":"SeqLog","description":"SeqLog is a lightweight logging library that sends Python log messages to Seq, a structured log server. Current version 0.4.3, released July 2025. The library is actively maintained but sees infrequent releases.","status":"active","version":"0.4.3","language":"python","source_language":"en","source_url":"https://github.com/tintoy/seqlog","tags":["logging","seq","structured-logging"],"install":[{"cmd":"pip install seqlog","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"note":"","wrong":"","symbol":"seqlog","correct":"import seqlog"}],"quickstart":{"code":"import logging\nimport seqlog\n\n# Configure SeqLog: either via environment variables or parameters\nseqlog.log_to_seq(\n    server_url=os.environ.get('SEQ_SERVER_URL', 'http://localhost:5341'),\n    api_key=os.environ.get('SEQ_API_KEY', ''),\n    level=logging.INFO\n)\n\nlogger = logging.getLogger(__name__)\nlogger.info('Hello from SeqLog!')","lang":"python","description":"Basic setup sending logs to a Seq server. Uses environment variables for configuration."},"warnings":[{"fix":"Explicitly pass `level=logging.DEBUG` to `log_to_seq()`.","message":"SeqLog v0.4.0 changed the default log level from DEBUG to INFO. If your code relies on DEBUG being the default, set level explicitly.","severity":"breaking","affected_versions":">=0.4.0"},{"fix":"Import and configure `seqlog` before any other logging configuration.","message":"Do not import `seqlog` after configuring logging manually (e.g., `logging.basicConfig`). SeqLog reconfigures the root logger and may conflict.","severity":"gotcha","affected_versions":"all"},{"fix":"Replace `seqlog.setup(...)` with `seqlog.log_to_seq(...)`.","message":"The function `seqlog.setup` is deprecated since v0.3.0 and will be removed. Use `seqlog.log_to_seq` instead.","severity":"deprecated","affected_versions":">=0.3.0,<1.0.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run `pip install seqlog`","cause":"The package is not installed in the current Python environment.","error":"ModuleNotFoundError: No module named 'seqlog'"},{"fix":"Upgrade to latest version: `pip install --upgrade seqlog` or use `seqlog.setup` instead.","cause":"Using an outdated version (<0.3.0) that didn't have `log_to_seq`. The old function was `setup`.","error":"AttributeError: module 'seqlog' has no attribute 'log_to_seq'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}