mirror of
https://github.com/dani-garcia/vaultwarden.wiki.git
synced 2026-10-24 23:06:50 +03:00
Implemented proper logging, with support for file logging, timestamp and syslog (this last one is untested)
This commit is contained in:
13 files changed
+146
-29
No files matched your search
@@ -180,7 +180,7 @@ impl User {
|
||||
pub fn update_uuid_revision(uuid: &str, conn: &DbConn) {
|
||||
if let Some(mut user) = User::find_by_uuid(&uuid, conn) {
|
||||
if user.update_revision(conn).is_err(){
|
||||
println!("Warning: Failed to update revision for {}", user.email);
|
||||
warn!("Failed to update revision for {}", user.email);
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user