Searched refs:rotate_dir (Results 1 - 3 of 3) sorted by relevance
/macosx-10.10.1/syslog-267/aslmanager.tproj/ |
H A D | aslmanager.c | 631 free(dst->rotate_dir); 632 dst->rotate_dir = NULL; 637 if (l[2] == NULL) dst->rotate_dir = strdup(PATH_ASL_ARCHIVE); 638 else dst->rotate_dir = strdup(l[2]); 713 if (dst->rotate_dir != NULL) 717 if (stat(dst->rotate_dir, &sb) == 0) 722 debug_log(ASL_LEVEL_ERR, "aslmanager error: archive %s is not a directory", dst->rotate_dir); 731 if (mkdir(dst->rotate_dir, 0755) != 0) 733 debug_log(ASL_LEVEL_ERR, "aslmanager error: can't create archive %s: %s\n", dst->rotate_dir, strerror(errno)); 740 debug_log(ASL_LEVEL_ERR, "aslmanager error: can't stat archive %s: %s\n", dst->rotate_dir, strerro [all...] |
/macosx-10.10.1/syslog-267/aslcommon/ |
H A D | asl_common.h | 100 char *rotate_dir; member in struct:__anon12453
|
H A D | asl_common.c | 746 free(dst->rotate_dir); 1407 else if (KEYMATCH(p, "dest=")) dst->rotate_dir = _strdup_clean(p+5); 1408 else if (KEYMATCH(p, "dst=")) dst->rotate_dir = _strdup_clean(p+4); 1927 fprintf(f, " dest: %s\n", (o->rotate_dir == NULL) ? "(none)" : o->rotate_dir); 2475 if ((dst->rotate_dir == NULL) && ((dst->flags & MODULE_FLAG_STYLE_SEQ) == 0) && ((dst->flags & MODULE_FLAG_COMPRESS) == 0)) 2512 dst_dir = dst->rotate_dir;
|
Completed in 117 milliseconds