Created Debugging (markdown) authored by Shreshth Tuli's avatar Shreshth Tuli
To debug, use the following.
## Fog Broker
To check for errors
1. You can read the *COSCO.log* file in the server.
## Fog Agents
To check for errrors
1. You can read the *agent/COSCO.log*.
2. You can check status of the flask service using
```bash
sudo service status flask
```
2. For more in depth system logs use
```bash
sudo cat /var/log/syslog
```
or use the jounral control comand to see errors in flask service.
```bash
journalctl -u flask.service
```
\ No newline at end of file