s3-sftp-proxy icon indicating copy to clipboard operation
s3-sftp-proxy copied to clipboard

Add audit logs

Open dm3ch opened this issue 5 years ago • 1 comments

I'm using this tool on one of the projects in production.

For security reasons it's very useful to see who has done which actions. Suddenly current logs doesn't expose this information (in single message), so I have added separate Audit log messages.

dm3ch avatar Nov 17 '19 22:11 dm3ch

I also would like to move it to separate log level (I would prefer something between INFO and ERROR) to make it possible to configure tool to just print error messages and audit logs. Suddenly just writing audit logs with WARN level i think wouldn't be great, so I would like to add separate log level, but suddenly I don't know how. :(

@moriyoshi What do you think about separate log level?

dm3ch avatar Nov 17 '19 22:11 dm3ch