Skip to content

Commit fed085a

Browse files
Merge pull request #231043 from JeffreyWolford/patch-7
Update data-collection-text-log.md
2 parents 64fb82b + 3287a00 commit fed085a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/azure-monitor/agents/data-collection-text-log.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ To complete this procedure, you need:
2525
- Do delineate the end of a record with an end of line.
2626
- Do use ASCII or UTF-8 encoding. Other formats such as UTF-16 aren't supported.
2727
- Do create a new log file every day so that you can remove old files easily.
28-
- Do Clean up all old log files in the monitored directory. Azure Monitor Agent does not delete old log files.
29-
- Do Not overwrite an exitsing file with new data. You should only append new data to the file.
28+
- Do clean up all log files older than 2 days in the monitored directory. Azure Monitor Agent does not delete old log files and tracking them uses up Agent resources.
29+
- Do Not overwrite an existing file with new data. You should only append new data to the file.
3030
- Do Not rename a file and open a new file with the same name to log to.
3131
- Do Not rename or copy large log files in to the monitored directory.
3232
- Do Not rename files in the monitored directory to a new name that is also in the monitored directory. This can cause incorrect ingestion behavior.

0 commit comments

Comments
 (0)