```OTEL_RESOURCE_ATTRIBUTES=service.name=DemoApp \...
# general
s
Copy code
OTEL_RESOURCE_ATTRIBUTES=service.name=DemoApp \
    OTEL_EXPORTER_OTLP_ENDPOINT="<http://localhost:4317>" \
    OTEL_EXPORTER_OTLP_PROTOCOL=grpc opentelemetry-instrument python manage.py runserver --noreload
Running the Django Server using the Above Command able to view the traces but unable to view logs. @Srikanth Chekuri @Prashant Shahi Please help me out
s
The logs are not automatically collected. You need to set
OTEL_PYTHON_LOGGING_AUTO_INSTRUMENTATION_ENABLED
to true