Skip to content

Commit 4b7e204

Browse files
committed
tweak some logs
1 parent 2c2e434 commit 4b7e204

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main.zig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,7 @@ pub const Context = struct {
666666
///
667667
/// This function is useful for '--dry-run' switches in CLI applications.
668668
pub fn turnIntoMemoryDb(self: *Self) !void {
669-
logger.debug("turning current db connection into an in-memory db", .{});
669+
logger.warn("turning current db connection into an in-memory db (this may take a while!)", .{});
670670

671671
// first, make sure our current connection can't do shit
672672
try self.db.exec("PRAGMA query_only = ON;", .{}, .{});
@@ -1171,7 +1171,7 @@ pub const Context = struct {
11711171
.{},
11721172
.{ core_hash.id.sql(), self.hash.id.sql() },
11731173
);
1174-
logger.debug("remove file {s} (hash {s}) with tag core hash {d}", .{ self.local_path, self.hash, core_hash.id });
1174+
logger.debug("remove file tag, file {s} (hash {s}) with tag core hash {d}", .{ self.local_path, self.hash, core_hash.id });
11751175
}
11761176

11771177
/// Copies ownership of given new_local_path

0 commit comments

Comments
 (0)