-
-
Notifications
You must be signed in to change notification settings - Fork 747
Causer in CLI Commands. #649
Copy link
Copy link
Description
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!
Reactions are currently unavailable