mirror of https://github.com/dapr/docs.git
pravin review
Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>
This commit is contained in:
parent
1a6564f7fb
commit
caaa1e7c7d
|
@ -67,16 +67,13 @@ You can also name each app directory's `.dapr` directory something other than `.
|
|||
|
||||
## Logs
|
||||
|
||||
Logs are included by default within each app directory and are tracked in the following locations under `.dapr/logs`:
|
||||
Logs for application and `daprd` are captured in separate files. These log files are created automatically under `.dapr/logs` directory under each app director. These log file names follow the below pattern:
|
||||
|
||||
- `app.log`
|
||||
- `daprd.log`
|
||||
- `<appID>_app_<timestamp>.log` (file name format for app's log)
|
||||
- `<appID>_daprd_<timestamp>.log` (file name format for `daprd` log)
|
||||
|
||||
Even if you've decided to rename your resources folder to something other than `.dapr`, the logs file are written to `.dapr` folder.
|
||||
|
||||
## Try it out
|
||||
|
||||
|
||||
## Watch the demo
|
||||
|
||||
Watch [this video for an overview on MapR](https://youtu.be/s1p9MNl4VGo?t=2456):
|
||||
|
|
|
@ -33,7 +33,7 @@ common: # optional section for variables shared across apps
|
|||
env: # any environment variable shared across apps
|
||||
- DEBUG: true
|
||||
apps:
|
||||
- appID: webapp # required
|
||||
- appID: webapp
|
||||
appDirPath: .dapr/webapp/ # required
|
||||
resourcesPath: .dapr/resources # (optional) can be default by convention
|
||||
configFilePath: .dapr/config.yaml # (optional) can be default by convention too, ignore if file is not found.
|
||||
|
@ -58,8 +58,8 @@ The properties for the MapR template align with the `dapr run` CLI flags, [liste
|
|||
|
||||
| Properties | Required | Details | Example |
|
||||
|--------------------------|:--------:|--------|---------|
|
||||
| `appID` | Y | Application's app ID | `webapp`, `backend` |
|
||||
| `appDirPath` | Y | Path to the your application code | `./webapp/`, `./backend/` |
|
||||
| `appID` | N | Application's app ID. If not provided, will be derived from `appDirPath` | `webapp`, `backend` |
|
||||
| `resourcesPath` | N | Path to your Dapr resources. Can be default by convention; ignore if directory isn't found | `./app/components`, `./webapp/components` |
|
||||
| `configFilePath` | N | Path to your application's configuration file | `./webapp/config.yaml` |
|
||||
| `appProtocol` | N | The protocol Dapr uses to talk to the application. | `HTTP`, `GRPC` |
|
||||
|
@ -90,4 +90,6 @@ The properties for the MapR template align with the `dapr run` CLI flags, [liste
|
|||
|
||||
## Next steps
|
||||
|
||||
[Try out the MapR template using the Distributed Calculator tutorial]
|
||||
Watch [this video for an overview on MapR](https://youtu.be/s1p9MNl4VGo?t=2456):
|
||||
|
||||
<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/s1p9MNl4VGo?start=2456" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
|
||||
|
|
Loading…
Reference in New Issue