
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
🪵 A simple & tiny logging library with supercharged search features
Logs are an integral part of building good software, especially APIs. It's important for logs to be easy to write in code, and easy to connect to some larger entity. This is where logpile comes in. This library is perfect for needing a versatile logger that works for anything, and that can flexibly search logs.
A perfect example is an API, where errors are logged with a reference to the users account. You can use logpile to search for all the error logs associated with that user, and display them to the API user.
$ yarn add logpile
or with npm
$ npm install --save logpile
import { createLogger } from 'logpile';
const logger = createLogger({
persist: [consolePersist({ level: 'error' }), filePersist()],
retrieve: fileRetrieve(),
});
// you can pass anything to the function
logger.warn('hello world', { some: 'object' }, 'another message');
/*=> {
timestamp: "2022-05-13T01:19:18.402Z",
level: "warning",
message: "hello world",
message2: "another message",
some: "object"
}*/
// you can search all logs with useful features
// search logs containing value 'hello world', in the last hour
/**
* You can search all logs with useful features.
* Search logs containing value 'hello world', from the last hour
*/
const logs = logger.searchLogs('hello world', { time: '1h' });
logpile is released under the MIT License.
ms type eg. { time: '1wk' })FAQs
🪵 A simple & tiny logging library with supercharged search features
We found that logpile demonstrated a not healthy version release cadence and project activity because the last version was released 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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.