Comments (4)
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.
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.
@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.
Great! Closing...
from iotedge.
Related Issues (20)
- Offline detection status / event HOT 4
- edgeAgent automatically stopping all modules HOT 2
- IoT Edge 1.4 install fails if system has users with UID 13622 / 13623 HOT 7
- IoT device works perfectly for days, then it does not - reboot fixes issue HOT 3
- Error getting device scope result from IoTHub (IotHubUnauthorizedAccess) HOT 2
- Unexpected shutdown, is it a kind of planned upgrade? HOT 4
- Direct Method of IoTEdge module takes 3 minutes to start responding HOT 11
- IoT Edge produces too much traffic with default configuration, it is not conducive for billable networks such as cellular. HOT 13
- Iotedge fails to make docker-proxy.sock after reboot (file exists) in Ubuntu Core HOT 13
- How to run aziot-edge in a docker container? HOT 10
- EdgeAgent does not restart crashed module if busy downloading new manifest 1.4.10 HOT 3
- Create a reusable Volume in Azure IOT Edge Module via Container Create Options HOT 2
- Can not ssh into a (running) VM with Ubuntu Core 20 on my k3s cluster HOT 1
- Reported twin does not reflect running container HOT 2
- Scarthgap support? HOT 1
- Best Practices/Guidance on upgrading a remote database module HOT 3
- edgeAgent hangs after a networking issue. HOT 2
- [Documentation] [Low priority] Add to the config.toml template and documentation a section for logging HOT 2
- "Did not receive ack for message / System.TimeoutException: Message completion response not received" errors after environment upgrade HOT 2
- Iot edge not starting on debian bullseye HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iotedge.