- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2020 06:57 PM
Hi,
I am working on a Table Transform Map, and I have a Field Map using Source Script. However I do not see the gs.Log comments I have in the System Log or the Import Log. Anyone know what I am doing wrong?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2020 10:57 PM
Hi,
As per your screenshot there is an unclosed ' in your 2nd line which might be causing the control to break because of which you are not seeing logs. Kindly remove that and check once.
Mark the comment as a correct answer and helpful if this has helped to solve the problem.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2020 07:07 PM
Use log.warn or log.info instead.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2020 07:10 PM
Hi Jared,
Can you try to replace the code inside the default block as below:
answer = (function transformEntry(source) {
// Add your code here
return ""; // return the value to be put into the target field
})(source);
Thanks,
CB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2020 07:10 PM
Hi, I am successfully using log.info() in my source scripts.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2020 10:57 PM
Hi,
As per your screenshot there is an unclosed ' in your 2nd line which might be causing the control to break because of which you are not seeing logs. Kindly remove that and check once.
Mark the comment as a correct answer and helpful if this has helped to solve the problem.