

# Logging Amazon Service Catalog API Calls with Amazon CloudTrail
<a name="logging-using-cloudtrail"></a>

CloudTrail is enabled on your Amazon account when you create the account. When activity occurs in Amazon Service Catalog, that activity is recorded in a CloudTrail event along with other Amazon service events in **Event history**. You can view, search, and download recent events in your Amazon account. For more information, see [ Viewing Events with CloudTrail Event History.](https://docs.amazonaws.cn/awscloudtrail/latest/userguide/view-cloudtrail-events) 
+ [Overview for Creating a Trail](https://docs.amazonaws.cn/awscloudtrail/latest/userguide/cloudtrail-create-and-update-a-trail.html)
+ [CloudTrail Supported Services and Integrations](https://docs.amazonaws.cn/awscloudtrail/latest/userguide/cloudtrail-aws-service-specific-topics.html#cloudtrail-aws-service-specific-topics-integrations)
+ [Configuring Amazon SNS Notifications for CloudTrail](https://docs.amazonaws.cn/awscloudtrail/latest/userguide/getting_notifications_top_level.html)
+ [Receiving CloudTrail Log Files from Multiple Regions](https://docs.amazonaws.cn/awscloudtrail/latest/userguide/receive-cloudtrail-log-files-from-multiple-regions.html) and [Receiving CloudTrail Log Files from Multiple Accounts](https://docs.amazonaws.cn/awscloudtrail/latest/userguide/cloudtrail-receive-logs-from-multiple-accounts.html)

All Amazon Service Catalog actions are logged by CloudTrail and are documented in the [Service Catalog Developer Guide](https://docs.amazonaws.cn/servicecatalog/latest/dg/). For example, calls to the `SearchProducts`, `ListLaunchPaths` and `ListLaunchPaths` actions generate entries in the CloudTrail log files. 

Every event or log entry contains information about who generated the request. The identity information helps you determine whether: 
+ Root or Amazon Identity and Access Management (IAM) user credentials made the request.
+ Temporary security credentials for a role or federated user made the request.
+ Another Amazon service made the request.

For more information, see the [CloudTrail userIdentity Element](https://docs.amazonaws.cn/awscloudtrail/latest/userguide/cloudtrail-event-reference-user-identity.html).