Skip to Content
1
May 18, 2020 at 10:09 AM

CAP: "console.log" on SCP

487 Views

I am a noob on SCP, so apologies for a basic question.

I have a few console.log statements as below in my CAP application.

module.exports = cds.service.impl(srv => {
    const {Actions} = cds.entities('cis.fiorianalytics')
    srv.on('CREATE', 'Actions', (req) => {
        console.log("=====>>>>req>>>" + req)
        console.log("=====>>>>SESSION_CONTEXT('APPLICATIONUSER')>>>>>>" + SESSION_CONTEXT('APPLICATIONUSER'))
        console.log("=====>>>>req.user>>>>>>" + req.user)
    });    
});

When running on the server (not local), where can I see these logs? I checked the log on the corresponding srv application, but do not see anything related to these.