Skip to content

Feature request: Add cron arguments into logging #41

@jordie23

Description

@jordie23

Would be great if the Executed the cron event 'x' message included a dump of the arguments passed in. Perhaps as part of a debug group so can be enabled/disabled via the --debug flag?

i.e. this line
https://github.com/wp-cli/cron-command/blob/master/src/Cron_Event_Command.php#L262

Personal reasoning is it'd be good to see the post ID for any publish_future_post events, but I'm sure it'd come in handy for others wanting to debug.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions