mirror of https://github.com/djcb/mu.git
* mu-maildir: better logging
This commit is contained in:
parent
5f27884689
commit
498c6418df
|
@ -334,7 +334,7 @@ process_dir_entry (const char* path, struct dirent *entry,
|
||||||
case DT_DIR: {
|
case DT_DIR: {
|
||||||
/* if it has a noindex file, we ignore this dir */
|
/* if it has a noindex file, we ignore this dir */
|
||||||
if (has_noindex_file (fullpath)) {
|
if (has_noindex_file (fullpath)) {
|
||||||
g_message ("ignoring dir %s", fullpath);
|
g_debug ("ignoring dir %s", fullpath);
|
||||||
return MU_OK;
|
return MU_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -454,8 +454,6 @@ _clear_links (const gchar* dirname, DIR *dir)
|
||||||
{
|
{
|
||||||
struct dirent *entry;
|
struct dirent *entry;
|
||||||
gboolean rv;
|
gboolean rv;
|
||||||
|
|
||||||
g_message ("clearlinks: %s", dirname);
|
|
||||||
|
|
||||||
rv = TRUE;
|
rv = TRUE;
|
||||||
while ((entry = readdir (dir)) && rv) {
|
while ((entry = readdir (dir)) && rv) {
|
||||||
|
@ -506,7 +504,7 @@ mu_maildir_clear_links (const gchar* path)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
g_message ("remove symlinks from %s", path);
|
g_debug ("remove symlinks from %s", path);
|
||||||
rv = _clear_links (path, dir);
|
rv = _clear_links (path, dir);
|
||||||
closedir (dir);
|
closedir (dir);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue