Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
  • Blog
  • Pricing
  • Documentation
Yandex project
© 2025 Yandex.Cloud LLC
Yandex Cloud Notification Service
    • Overview
    • Getting started with mobile push notifications
    • Getting started with in-browser push notifications
    • Getting started with SMS
    • All guides
    • Configuring logging
    • Overview
    • Mobile push notifications
    • In-browser push notifications
    • SMS
    • Quotas and limits
    • All tools
    • AWS CLI
    • AWS SDK for C++
    • AWS SDK for Go
    • AWS SDK for Java
    • AWS SDK for JavaScript
    • AWS SDK for Kotlin
    • AWS SDK for .NET
    • AWS SDK for PHP
    • AWS SDK for Python (boto3)
  • Pricing policy
  • Monitoring metrics
  • Logs Cloud Logging
  • Release notes
  1. Step-by-step operations
  2. Configuring logging

Setting up logging

Written by
Yandex Cloud
Updated at April 17, 2025
Management console
AWS CLI
  1. In the management console, select the folder containing the notification channel.
  2. From the list of services, select Cloud Notification Service.
  3. Select a channel.
  4. At the top right, click Edit.
  5. Under Logging, enable the Write logs option.
  6. In the Folder list, select a folder to house the log group.
  7. In the Log group field, select an existing log group or create a new one.
  8. To stop logging, disable Write logs.
  1. If you do not have the AWS CLI yet, install and configure it.

  2. Run this command:

    aws sns set-endpoint-attributes \
        --endpoint-arn <endpoint_ARN> \
        --attributes LoggingPath=<folder_ID>/<log_group_ID>
    

    Where:

    • --endpoint-arn: Endpoint ID (ARN).
    • --attributes: Endpoint parameters. To configure logging, use the LoggingPath parameter.
    • folder_ID: ID of the folder housing the log group. The folder must be in the same cloud as the app.
    • log_group_ID: ID of the log group to send logs to. This is an optional parameter; if no ID is specified, the default log group is used.
  3. To disable logging, provide an empty value for the LoggingPath attribute.

For more information about the aws sns set-endpoint-attributes command, see the AWS documentation.

Was the article helpful?

Previous
Exiting the sandbox
Next
Overview
Yandex project
© 2025 Yandex.Cloud LLC