Skip to content

Commit

Permalink
fix: logic
Browse files Browse the repository at this point in the history
  • Loading branch information
flippipe committed Aug 12, 2024
1 parent 2004220 commit 6beea6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion otel_log_wrapper/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "otel_log_wrapper"
version = "0.0.4"
version = "0.0.5"
description = "Description of my package"
authors = [
{ name="Filipe Carvalho", email="[email protected]" },
Expand Down
1 change: 1 addition & 0 deletions otel_log_wrapper/src/otel_log_wrapper/otlp_log_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ def __init__(self, name, correlation_id, level='DEBUG'):
# configure OTLP
if not os.getenv('OTEL_EXPORTER_OTLP_ENDPOINT'):
logging.debug('OTEL_EXPORTER_OTLP_ENDPOINT not found.')
else:
self._setup_otlp()

logging.debug('Log Setup Done')
Expand Down

0 comments on commit 6beea6c

Please sign in to comment.