
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
azure-function-log-intercept
Advanced tools
console.log doesn't actually log as you would expect in node.js Azure Functions. You are expected to use context.log and context is not a global object, it's a parameter to your Azure Function so you would have to pass this throughout your modules/functions to get logging like you would expect.
This package fixes this with minimal friction, 0 dependencies, and allows you to use console.log (and other console methods) like normal.
More information here: https://github.com/Azure/Azure-Functions/issues/1396
Supports:
console.logconsole.errorconsole.warnconsole.infonpm install azure-function-log-intercept
const intercept = require('azure-function-log-intercept');
const storage = require('./StorageService.js');
module.exports = async function (context, myQueueItem) {
intercept(context);// console.log works now!
await storage.storeMessage(myQueueItem);
console.log('Function Completed');
};
FAQs
Add console.log support to Azure Functions
We found that azure-function-log-intercept demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.