Logs active GAM

534 views
Skip to first unread message

Karolina Janowska

unread,
Oct 21, 2022, 6:40:39 AM10/21/22
to GAM for Google Workspace
Hi everyone! 

Where are the logs of the activities performed in GAM?

I was looking in GCP but I didn't find it. 

 
Karolina

Kim Nilsson

unread,
Oct 24, 2022, 2:33:43 AM10/24/22
to GAM for Google Workspace
There isn't, really.
GAM runs it's commands in a local shell, pushing API calls directly to Google's services.
Many of those actions are logged in the various audit logs, if they are updates or changes of objects.
If it's only printing lists of objects, then that isn't logged anywhere.

GAM does not push logs of actions to anywhere. There is no phone-home feature.

However, in GAMADV-XTD3 you can activate a feature to log gam commands to a local file.
You could then push that file to any log service you want.

/Kim

Karolina Janowska

unread,
Oct 24, 2022, 3:13:07 AM10/24/22
to GAM for Google Workspace

Thanks. 

This is a valuable note. 

Karolina 

Karolina Janowska

unread,
Oct 24, 2022, 3:40:33 AM10/24/22
to GAM for Google Workspace
If I would like to enable logs in GAM, should I have a path in cmdlog?

On Github I did not see the corrective procedure.

KJ

Kim Nilsson

unread,
Oct 24, 2022, 3:58:08 AM10/24/22
to Google Apps Manager
Only if you want to place it elsewhere. 

Unhappy Buckaroo

unread,
Oct 25, 2023, 3:59:10 PM10/25/23
to GAM for Google Workspace
Does anyone know whether the cmdlog includes error messages? Or would that be in a separate log? I don't see any likely candidates in gam.cfg

Ross Scroggs

unread,
Oct 25, 2023, 4:03:26 PM10/25/23
to google-ap...@googlegroups.com
No, the cmdlog shows the exit/return code of the command.
You'll have to collect error messages with redirect stderr

Ross
----
Ross Scroggs



  Find us on Facebook: St. Albert Public Schools
  Follow us on Twitter: @StAlbertPublic and @SuptSumners

The content of this message is confidential. If you have received it by mistake, please inform us by an email reply and then delete the message. Please do not copy, forward, or in any way reveal the contents of this message to anyone. The integrity and security of this email cannot be guaranteed over the Internet. Therefore, the sender will not be held liable for any damage caused by the message.

--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/78c3e099-bb8c-47b1-abfc-c90d4cdebaf7n%40googlegroups.com.

Penner, Andrew

unread,
Oct 25, 2023, 6:31:26 PM10/25/23
to google-ap...@googlegroups.com
Thanks!
I'll give that a try.
_____________________________________________________
Andrew Penner, Technical Analyst
St. Albert School Division


You received this message because you are subscribed to a topic in the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-manager/u-Q58ngHGAw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-apps-man...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/012CE243-CCF2-4743-AD18-5A75BC8995B5%40gmail.com.

Ross Scroggs

unread,
Oct 25, 2023, 6:38:54 PM10/25/23
to google-ap...@googlegroups.com
Andrew,

Send Meet/Zoom invitation if you want to discuss

Ross
----
Ross Scroggs


Reply all
Reply to author
Forward
0 new messages