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

CAP: "console.log" on SCP

217 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.