Skip to content

MIGRATION_A365.md: missing explanation of OTEL_LOG_LEVEL vs A365_OBSERVABILITY_LOG_LEVEL #111

@fpfp100

Description

@fpfp100

Summary

The migration guide (section 12) documents the logging level migration from A365_OBSERVABILITY_LOG_LEVEL to OTEL_LOG_LEVEL, but doesn't explain that these are two independent log systems that control different things.

Issue

Users migrating will see both env vars and not understand which to use or why they exist separately:

Env var What it controls Default Values
OTEL_LOG_LEVEL OpenTelemetry SDK internals — instrumentation patching, span creation, exporter lifecycle WARN ALL, DEBUG, VERBOSE, INFO, WARN, ERROR, NONE
A365_OBSERVABILITY_LOG_LEVEL A365 distro internals — token acquisition, span batching, export HTTP status, skipped spans none none, info, warn, error (pipe-separated combos like info|error)

The migration guide section 12 maps old values to new values but implies OTEL_LOG_LEVEL replaces A365_OBSERVABILITY_LOG_LEVEL. In reality both still exist and serve different purposes. The migration guide should:

  1. Explain that OTEL_LOG_LEVEL controls OTel SDK diagnostics (not A365 specific)
  2. Explain that A365_OBSERVABILITY_LOG_LEVEL still exists and controls A365-specific diagnostics (token, export, span filtering)
  3. Clarify when to use which — e.g., use A365_OBSERVABILITY_LOG_LEVEL=info to debug export failures, use OTEL_LOG_LEVEL=INFO to debug instrumentation issues

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions