Created
September 20, 2023 18:09
-
-
Save keyan1603/87c83ae2f19f214c474d0fc4175e2260 to your computer and use it in GitHub Desktop.
Extending the default OOTB logging - Windows nodes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"LogConfig": { | |
"sources": [ | |
{ | |
"type": "EventLog", | |
"startAtOldestRecord": true, | |
"eventFormatMultiLine": false, | |
"channels": [ | |
{ | |
"name": "system", | |
"level": "Information" | |
}, | |
{ | |
"name": "application", | |
"level": "Error" | |
} | |
] | |
}, | |
{ | |
"type": "File", | |
"directory": "c:\\inetpub\\logs", | |
"filter": "*.log", | |
"includeSubdirectories": true | |
}, | |
{ | |
"type": "File", | |
"directory": "c:\\inetpub\\wwwroot\\App_data\\logs", | |
"filter": "*.txt", | |
"includeSubdirectories": false | |
}, | |
{ | |
"type": "File", | |
"directory": "c:\\your\\own\\logfolder", | |
"filter": "*.log", | |
"includeSubdirectories": true | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment