24
Views
4
Comments
Solved
JavaScript execution logs
Application Type
Reactive

Hello community,

In OutSystems, I believe logs are output when processes are executed.

Does anyone know if logs related to JavaScript are also output when executing JavaScript from client actions or server actions?

If so, what kind of logs are output?

If anyone has any information, I would appreciate it if you could share it with me.


Best regards,

Hiromi

2024-07-12 05-57-50
Gourav Shrivastava
Champion
Solution

Hello @Hiromi Hayashi 

OutSystems does not store JavaScript logs in the platform logs.
If you run JavaScript inside Client Actions, any console.log(), errors, or warnings only appear in the browser’s developer console, not in OutSystems logs. 

You can use the dev console for that, or if you want to store, you can write custom logic for that

UserImage.jpg
Hiromi Hayashi

Hello Gourav,

Thank you for your reply! I will use browser’s developer console to check them.

2025-12-18 01-28-51
Peter Hieu
Solution

Hi @hiromi

  1. JavaScript in OutSystems always runs on the client side (in the browser). By default, console.log() or JS errors are not recorded in Service Center logs.

  2. If you want JavaScript activity to appear in OutSystems logs, you must explicitly use the OutSystems JavaScript Logger API:

    $public.Logger.log("ModuleName", "your message");$public.Logger.error("ModuleName", errorObject);

    These logs will be sent to the server and appear in Service Center → Monitoring.

OutSystems JS Logger API reference: 

https://success.outsystems.com/documentation/11/reference/outsystems_apis/javascript_api/logger/

Hope this helps

Peter Hieu

UserImage.jpg
Hiromi Hayashi

Hello Peter,

Thank you very much for your reply! I could understand it well.

2024-07-12 05-57-50
Gourav Shrivastava
Champion
Solution

Hello @Hiromi Hayashi 

OutSystems does not store JavaScript logs in the platform logs.
If you run JavaScript inside Client Actions, any console.log(), errors, or warnings only appear in the browser’s developer console, not in OutSystems logs. 

You can use the dev console for that, or if you want to store, you can write custom logic for that

UserImage.jpg
Hiromi Hayashi

Hello Gourav,

Thank you for your reply! I will use browser’s developer console to check them.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.