Git Product home page Git Product logo

Comments (4)

damonbarry avatar damonbarry commented on May 28, 2024

I assume you were looking here?

Yeah, this looks like a doc bug. This environment variable must be set in the Edge Hub and/or Agent containers to see more logging output. You can do that by putting it in a special place in the config.yaml, or for Edge Hub only you can probably specify it in the deployment. But I'll need to gather the details.

I'll post the correct steps here, and also make a PR to the docs repo.

from iotedge.

damonbarry avatar damonbarry commented on May 28, 2024

To see debug logs in Edge Agent and Edge Hub, update config.yaml (Linux: /etc/iotedge/config.yaml, Windows: C:\ProgramData\iotedge\config.yaml) by inserting the key-value pair RuntimeLogLevel: debug into element agent.env. E.g.:

...

agent:
  name: edgeAgent
  type: docker
  env:
    RuntimeLogLevel: debug
  config:
    image: mcr.microsoft.com/azureiotedge-agent:1.0
    auth: {}

...

@chriswaters78 let me know if this works for you.

from iotedge.

chriswaters78 avatar chriswaters78 commented on May 28, 2024

@damonbarry Yes I am getting DBG level logging for both edgeAgent and edgeHub after making that change to my config.yaml file. Thanks.

from iotedge.

damonbarry avatar damonbarry commented on May 28, 2024

Great! Closing...

from iotedge.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.