---
title: "Log actions performed by a user running a Google Apps Script"
author: "Phil Bainbridge"
date: 2019-12-21T09:39:00+00:00
modified: 2019-12-20T14:37:37+00:00
canonical_url: https://pulse.appsscript.info/p/2019/12/log-actions-performed-by-a-user-running-a-google-apps-script/
markdown_url: https://pulse.appsscript.info/p/2019/12/log-actions-performed-by-a-user-running-a-google-apps-script.md
categories:
  - "Sheets"
  - "Snippet"
tags:
  - "pbainbridge.co.uk"
featured_image: https://pulse.appsscript.info/files/2019/12/Logscriptevents.png
description: "A standalone function that you could include in your scripting projects to help determine which user ran a script and what actions it has performed. It is designed to output the information into a Google..."
---

# Log actions performed by a user running a Google Apps Script

![Log actions performed by a user running a Google Apps Script](https://pulse.appsscript.info/files/2019/12/Logscriptevents.png)

> [https://www.pbainbridge.co.uk/2019/01/log-actions-performed-by-user-running.html](https://www.pbainbridge.co.uk/2019/01/log-actions-performed-by-user-running.html)Example log output from script to spreadsheet
> A standalone function that you could include in your scripting projects to help determine which user ran a script and what actions it has performed. It is designed to output the information into a Google sheet – Date/Time, User, Action.

Source: *[The Gift of Script: Log actions performed by a user running a script*](https://www.pbainbridge.co.uk/2019/01/log-actions-performed-by-user-running.html)

---

*Published by [Phil Bainbridge](https://pulse.appsscript.info/p/author/phillipbainbridge/) on [Pulse](https://pulse.appsscript.info/). Original article: [https://pulse.appsscript.info/p/2019/12/log-actions-performed-by-a-user-running-a-google-apps-script/](https://pulse.appsscript.info/p/2019/12/log-actions-performed-by-a-user-running-a-google-apps-script/)*
