Adds an activity log collection to Payload that records changes made to the collections and globals you choose. Configure it per collection or global, with options to turn off update logging, IP address logging, device info logging and draft autosave logging. The log collection can be customised through an override function. Works with Payload 3.
keep an eye on everything happening in your cms
Installation
npm i @payload-bites/activity-log114
Stars
6
Forks
0
Open Issues
3 weeks ago
Last Updated
0
Weekly Downloads
v1.7.0
npm Version
77.4 KB
Unpacked Size
0
Dependencies
Trends appear after 7 days of data. Daily snapshots have not started yet.
Shared by 7 plugins in rilrom/payload-bites.
Trends appear after 7 days of data. Daily snapshots have not started yet.
Each point is npm's rolling 7-day download count.
Health Score
Composite score based on GitHub activity, stars, npm downloads, publish recency, dependency count, and package size.
Badge for your README
[](https://payloaddirectory.dev/plugins/908347705-activity-log)<a href="https://payloaddirectory.dev/plugins/908347705-activity-log"><img src="https://payloaddirectory.dev/badge/908347705-activity-log.svg" alt="Payload Directory"></a>README
Keep an eye on everything happening in your cms.
pnpm add @payload-bites/activity-log
payload.config.ts:import { activityLogPlugin } from "@payload-bites/activity-log";
export default buildConfig({
plugins: [
activityLogPlugin({
collections: {
posts: {},
pages: {
enableUpdateLogging: false,
enableIpAddressLogging: false,
enableDeviceInfoLogging: false,
},
},
globals: {
footer: {},
},
enableDraftAutosaveLogging: false,
overrideActivityLogCollection: (collection) => ({
...collection,
access: {
...collection?.access,
update: () => true,
create: () => true,
},
admin: {
...collection?.admin,
group: "Reporting",
},
}),
}),
],
});
For defaults, refer to defaults.ts.
For options, refer to types.ts.
Topics
Tags
payload audit
Automatic audit logging of create, update, delete and auth events across all Payload collections
70712/wk4v3
authors info
Tracks who created, edited and published documents across collections and globals
6557/wk181v3
payload auditor
Audit logging for Payload collections and globals using hook operations, with buffered writes and automatic log cleanup
640/wk79v3
activity log
Chronological activity feed of document changes and user logins across all collections and globals
6129/wk15v3
payload hooks
Collection hook helper that logs Payload operations through the Nexload logger
550/wk2v?
audit fields
Tracks who created and last modified each document, with a Modified By column in the versions view
540/wk15v3