Skip to content

Commit 8371488

Browse files
author
Yoichi Kawasaki
committed
Added Tips
1 parent 6e14a43 commit 8371488

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/quickstart-samples-custom-image-with-docker.md

+9
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ This is a quickstart on how you start running Python function samples as a custo
1414
- [1. Run the image with minimum configuration](#1-run-the-image-with-minimum-configuration)
1515
- [2. Run the image with full configuration](#2-run-the-image-with-full-configuration)
1616
- [Test access to the functions](#test-access-to-the-functions)
17+
- [Tips](#tips)
18+
- [Console Logging Option](#console-logging-option)
1719
- [LINKS](#links)
1820

1921

@@ -124,5 +126,12 @@ curl -s http://localhost:8080/api/http-trigger-dump-request |jq
124126

125127
```
126128

129+
## Tips
130+
### Console Logging Option
131+
By default, Console Logging is not enabled, and you can enable it by setting the following option as an ENV variable in Dockerfile or giving the option in running docker:
132+
```
133+
ENV AzureFunctionsJobHost__Logging__Console__IsEnabled=true
134+
```
135+
127136
## LINKS
128137
- [Create a function on Linux using a custom image](https://docs.microsoft.com/en-us/azure/azure-functions/functions-create-function-linux-custom-image)

0 commit comments

Comments
 (0)