# HG changeset patch # User Tero Marttila # Date 1264384837 -7200 # Node ID 29c57814204a5b60f9a12dfc9cf9f83e8b8f4660 # Parent 2e07f7dccb67d1689472a8ba2a057f530f0550c1 update pngtile output diff -r 2e07f7dccb67 -r 29c57814204a src/pngtile/main.c --- a/src/pngtile/main.c Mon Jan 25 04:00:04 2010 +0200 +++ b/src/pngtile/main.c Mon Jan 25 04:00:37 2010 +0200 @@ -197,6 +197,9 @@ else if (status == PT_CACHE_FRESH) log_debug("\tImage cache is fresh"); + + else + log_warn("\tImage cache status is unknown"); if (!no_update) { log_debug("\tUpdating image cache..."); @@ -222,10 +225,10 @@ log_warn_errno("pt_image_info: %s: %s", img_path, pt_strerror(err)); } else { - log_info("\tImage dimensions: %zux%zu", info->img_width, info->img_height); + log_info("\tImage dimensions: %zux%zu (%zu bpp)", info->img_width, info->img_height, info->img_bpp); log_info("\tImage mtime=%ld, bytes=%zu", (long) info->image_mtime, info->image_bytes); - log_info("\tCache mtime=%ld, bytes=%zu, blocks=%zu (%zu bytes)", - (long) info->cache_mtime, info->cache_bytes, info->cache_blocks, info->cache_blocks * 512 + log_info("\tCache mtime=%ld, bytes=%zu, blocks=%zu (%zu bytes), version=%d", + (long) info->cache_mtime, info->cache_bytes, info->cache_blocks, info->cache_blocks * 512, info->cache_version ); }