diff options
| author | 2023-02-25 18:37:19 +0100 | |
|---|---|---|
| committer | 2023-02-25 18:37:19 +0100 | |
| commit | e4b6054313cf28a281d57ef9328eb5ca283c0a00 (patch) | |
| tree | 00578045a477cf8bfa5cfe8a420bd3a1c13c7054 | |
| parent | Version 2.24 RELEASED. (diff) | |
| download | snac2-e4b6054313cf28a281d57ef9328eb5ca283c0a00.tar.gz snac2-e4b6054313cf28a281d57ef9328eb5ca283c0a00.tar.xz snac2-e4b6054313cf28a281d57ef9328eb5ca283c0a00.zip | |
Changed debug level for purge log messages.
| -rw-r--r-- | data.c | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -1619,7 +1619,7 @@ static void _purge_subdir(snac *snac, const char *subdir, int days) | |||
| 1619 | cnt += _purge_file(v, mt); | 1619 | cnt += _purge_file(v, mt); |
| 1620 | } | 1620 | } |
| 1621 | 1621 | ||
| 1622 | snac_debug(snac, 0, xs_fmt("purge: ~/%s/ %d", subdir, cnt)); | 1622 | snac_debug(snac, 1, xs_fmt("purge: ~/%s/ %d", subdir, cnt)); |
| 1623 | } | 1623 | } |
| 1624 | 1624 | ||
| 1625 | 1625 | ||
| @@ -1689,7 +1689,7 @@ void purge_server(void) | |||
| 1689 | } | 1689 | } |
| 1690 | } | 1690 | } |
| 1691 | 1691 | ||
| 1692 | srv_debug(0, xs_fmt("purge: global (obj: %d, idx: %d)", cnt, icnt)); | 1692 | srv_debug(1, xs_fmt("purge: global (obj: %d, idx: %d)", cnt, icnt)); |
| 1693 | } | 1693 | } |
| 1694 | 1694 | ||
| 1695 | 1695 | ||
| @@ -1726,7 +1726,7 @@ void purge_user(snac *snac) | |||
| 1726 | for (n = 0; idxs[n]; n++) { | 1726 | for (n = 0; idxs[n]; n++) { |
| 1727 | xs *idx = xs_fmt("%s/%s", snac->basedir, idxs[n]); | 1727 | xs *idx = xs_fmt("%s/%s", snac->basedir, idxs[n]); |
| 1728 | int gc = index_gc(idx); | 1728 | int gc = index_gc(idx); |
| 1729 | snac_debug(snac, 0, xs_fmt("purge: %s %d", idx, gc)); | 1729 | snac_debug(snac, 1, xs_fmt("purge: %s %d", idx, gc)); |
| 1730 | } | 1730 | } |
| 1731 | } | 1731 | } |
| 1732 | 1732 | ||