1
0
mirror of https://github.com/fabianonline/telegram_backup.git synced 2024-12-25 14:25:35 +00:00

Fixed anonymization of database backup debug messages. Fixes #98.

This commit is contained in:
Fabian Schlenz 2018-03-13 06:46:59 +01:00
parent f8984b25b1
commit 6276651b84

View File

@ -238,7 +238,7 @@ class Database private constructor(var client: TelegramClient) {
try {
val src = user_manager.fileBase + Config.FILE_NAME_DB
val dst = user_manager.fileBase + filename
logger.debug("Copying {} to {}", src, dst)
logger.debug("Copying {} to {}", src.anonymize(), dst.anonymize())
Files.copy(
File(src).toPath(),
File(dst).toPath())