Skip to content

Commit 0fda5dd

Browse files
Merge pull request #292281 from vcmsft/patch-37
Fix Logging Documentation on maxDays
2 parents 36b3bca + f6274b4 commit 0fda5dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/app-service/configure-language-java-deploy-run.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ az webapp config appsettings set --resource-group myResourceGroup --name myApp -
631631
<Valve prefix="site_access_log.${catalina.instance.name}" pattern="%h %l %u %t &quot;%r&quot; %s %b %D %{x-arr-log-id}i" directory="${site.logdir}/http/RawLogs" maxDays="${site.logRetentionDays}" className="org.apache.catalina.valves.AccessLogValve" suffix=".txt"/>
632632
```
633633
* `directory` is set to `AZURE_LOGGING_DIR`, which defaults to `home\logFiles`
634-
* `maxDays` is to `WEBSITE_HTTPLOGGING_RETENTION_DAYS`, which defaults to `0` [forever]
634+
* `maxDays` is to `WEBSITE_HTTPLOGGING_RETENTION_DAYS`, which defaults to `7`. This aligns with the Application Logging platform default
635635

636636
On Linux, it has all of the same customization, plus:
637637

0 commit comments

Comments
 (0)