From 662e0c5e333b2ff4ef114113ed1aab06a2e274a9 Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Thu, 18 Dec 2025 17:46:21 -0800 Subject: [PATCH] clean up logging --- src/main.zig | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main.zig b/src/main.zig index 85ceae1..4b3ecba 100644 --- a/src/main.zig +++ b/src/main.zig @@ -18,14 +18,14 @@ pub fn main() !void { const cfg = try config.Config.load(allocator); defer cfg.deinit(allocator); - std.log.info("wttr starting on {s}:{d}\n", .{ cfg.listen_host, cfg.listen_port }); - std.log.info("Cache size: {d}\n", .{cfg.cache_size}); - std.log.info("Cache dir: {s}\n", .{cfg.cache_dir}); - std.log.info("GeoLite2 path: {s}\n", .{cfg.geolite_path}); + std.log.info("wttr starting on {s}:{d}", .{ cfg.listen_host, cfg.listen_port }); + std.log.info("Cache size: {d}", .{cfg.cache_size}); + std.log.info("Cache dir: {s}", .{cfg.cache_dir}); + std.log.info("GeoLite2 path: {s}", .{cfg.geolite_path}); if (cfg.geocache_file) |f| { - std.log.info("Geocache file: {s}\n", .{f}); + std.log.info("Geocache file: {s}", .{f}); } else { - std.log.info("Geocache: in-memory only\n", .{}); + std.log.info("Geocache: in-memory only", .{}); } // Ensure GeoLite2 database exists