VERTRIEB: 1-800-867-1380
EN
Dieser Inhalt ist in Ihrer Sprache leider nicht verfügbar. Im Folgenden finden Sie die englische Version.

Get-AzureWebsiteLog

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Get-AzureWebsiteLog

Gets logs for the specified website.

 

Parameter Set: ListPath
Get-AzureWebsiteLog [[-Name] <String> ] [-ListPath] [ <CommonParameters>]

Parameter Set: Tail
Get-AzureWebsiteLog [[-Name] <String> ] [[-Path] <String> ] [[-Message] <String> ] [-Tail] [ <CommonParameters>]




 

This topic describes the cmdlet in the .6.19 version of the Windows Azure PowerShell module. To find out the version of the module you're using, from the Windows Azure PowerShell console, type (get-module azure).version.

Gets log for the specified website.

 

-ListPath

Specifies whether to list the log paths.


Aliases

none

Required?

true

Position?

4

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Message<String>

A string which will be used to filter the log message. Only logs which contains this string will be retrieved.


Aliases

none

Required?

false

Position?

3

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Name<String>

The name of the website.


Aliases

none

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Path<String>

The path from which the log will be retrieved. By default it is Root, which means include all the paths.


Aliases

none

Required?

false

Position?

2

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Tail

Specifies whether to stream the logs.


Aliases

none

Required?

true

Position?

4

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see  about_CommonParameters (http://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

 

Example 1

This example starts log streaming for all application logs.


C:\PS>Get-AzureWebsiteLog -Tail

Example 2

This example starts log streaming for http logs.


C:\PS>Get-AzureWebsiteLog -Tail -Path http

Example 3

This example starts log streaming and show error logs only.


C:\PS>Get-AzureWebsiteLog -Tail -Message Error

Example 4

This example lists all available log paths in the website.


C:\PS>Get-AzureWebsiteLog -Name MyWebsite -ListPath

Related topics

Fanden Sie dies hilfreich?
(1500 verbleibende Zeichen)
Vielen Dank für Ihr Feedback.
Anzeigen:
© 2014 Microsoft