-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added audit logs to user database and to audit.txt (#113)
* Added audit logs to user database and to audit.txt Added a schema for audit logs with current timestamp, and the same is transferred to audit.txt for line based record keeping. * Added comments Added some comments to explain fucntion logic --------- Signed-off-by: wongaid <[email protected]> Co-authored-by: wongaid <[email protected]>
- Loading branch information
Showing
2 changed files
with
86 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +0,0 @@ | ||
[2023-11-24 17:09:33] login-fail: Failed login attempt for user admin | ||
[2023-11-24 17:09:38] login-fail: Failed login attempt for user admin | ||
[2023-11-24 17:09:41] login-fail: Failed login attempt for user admin | ||
[2023-11-24 17:10:00] register: User admin registered | ||
[2023-11-24 17:10:03] login: User admin logged in | ||