Skip to content

Causer in CLI Commands. #649

@nospam4u

Description

@nospam4u

So I have been integrating ActivityLog into all our apps and it has worked perfectly for us. I do have a question about how I can set a causer for console commands. We have one environment where a great deal of the management orchestration takes place at the CLI, and I would like to track the Linux username of the person executing those commands. Since the Linux user doesn't exist as a Laravel user, I can't just use ->causedBy(). Currently I am just adding it to the description, but would like to be able to query these in their own column for reporting.

Are there any secrets I am missing, or is adding to to description or properties the best available method?

Thanks!

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions