Logging override
New-EdgeWorkerLoggingOverride
Synopsis
Create a new logging override
Syntax
New-EdgeWorkerLoggingOverride -EdgeWorkerName <String> -Network <String> -Level <String> [-Schema <String>] [-Timeout <String>] [-DS2ID <Int32>] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
New-EdgeWorkerLoggingOverride -EdgeWorkerID <Int32> -Network <String> -Level <String> [-Schema <String>] [-Timeout <String>] [-DS2ID <Int32>] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Description
Override the default JavaScript logging level for an EdgeWorker specified by its EdgeWorkerName
or EdgeWorkerID
.
Parameters
‑AccountSwitchKey |
An account credential key that lets you move between accounts when using an API client enabled for multiple accounts. To find account switch keys, use Get-AccountSwitchKey. |
‑DS2ID |
Specifies the Data Stream 2 stream to use to deliver the logs. |
‑EdgeRCFile |
Your EdgeGrid resource file to authenticate your command. Defaults to |
‑EdgeWorkerID Conditionally required |
Your EdgeWorker's ID. |
‑EdgeWorkerName Conditionally required |
Your Edge Worker's name. |
‑Level Required |
Describes the selected log level. |
‑Network Required |
When enabled, limits results to show only versions activated on a specific network, either |
‑Schema |
Currently unused. Reserved for future use to control the schema version for different outputs. |
‑Section |
The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to |
‑Timeout |
ISO 8601 timestamp indicating when the logging override settings should expire. |
Related Links
Updated about 18 hours ago