Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bumblebee delete users script needs to do some logging. #3

Open
iandobbie opened this issue Sep 9, 2019 · 1 comment
Open

Bumblebee delete users script needs to do some logging. #3

iandobbie opened this issue Sep 9, 2019 · 1 comment

Comments

@iandobbie
Copy link
Member

We should add a log output so that deleted users are recorded, both the fact they were deleted and when.

@carandraug
Copy link
Member

This should be trivial, something like:

echo "$(date): marked ${USERNAME} as deleted"

and then having the cronjob doing the STDOUT redirect.

However, this script will be ran by IT on their own servers. They may have crond configured to save the logs already (cron can make use of syslogd) which would ensure file rotation and compression, as well as timestamping the messages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants