gs.log vs. gs.print: the docs entry for gs.log says it logs to TWO places "system log" and "syslog table".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-22-2022 04:39 AM
(gs.log vs. gs.print): the docs entry for gs.log says it logs to TWO places "system log" and "syslog table".
Are these TWO places really distinct?
... Aren't these one and the same?
How do I view them both?
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-22-2022 05:07 AM
gs.print(): This method does not write the message to the syslog table unless debug has been activated
gs.log(): Logs a message to the system log and saves it to the syslog table.
Ideally use gs.info() - as the print and log are available only in global scope

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-22-2022 05:11 AM
gs.print will not store printed value in syslog table //you can use it in background scripts for example(in Global only)
gs.log wlill store value in log table. //you can use it in any server scripts (in Global only)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-25-2022 03:53 AM
Regurgitating the already ambiguous text from Docs is less than useful.
Perhaps I was not clear with my question.
The question is: What is the difference between the "system log" and the "syslog table"?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2022 12:20 AM
"syslog" is the table backend name for log table. (Also called as Log entry table or system log table)
"System Log" is just an application menu in the left navigator but there is no such table name.
All the logs for gs.log, gs.info, gs.error will be logged into syslog table only.
You can open log table by typing syslog.list in navigator.
Mark as correct and helpful if it solved your query.
Regards,
Sumanth