Searched refs:rotate_dir (Results 1 - 3 of 3) sorted by relevance
/macosx-10.9.5/syslog-217.1.4/aslmanager.tproj/ |
H A D | aslmanager.c | 478 free(dst->rotate_dir); 479 dst->rotate_dir = NULL; 484 if (l[2] == NULL) dst->rotate_dir = strdup(PATH_ASL_ARCHIVE); 485 else dst->rotate_dir = strdup(l[2]); 560 if (dst->rotate_dir != NULL) 564 if (stat(dst->rotate_dir, &sb) == 0) 569 debug_log(ASL_LEVEL_ERR, "aslmanager error: archive %s is not a directory", dst->rotate_dir); 578 if (mkdir(dst->rotate_dir, 0755) != 0) 580 debug_log(ASL_LEVEL_ERR, "aslmanager error: can't create archive %s: %s\n", dst->rotate_dir, strerror(errno)); 587 debug_log(ASL_LEVEL_ERR, "aslmanager error: can't stat archive %s: %s\n", dst->rotate_dir, strerro [all...] |
/macosx-10.9.5/syslog-217.1.4/aslcommon/ |
H A D | asl_common.h | 94 char *rotate_dir; member in struct:__anon12649
|
H A D | asl_common.c | 681 free(dst->rotate_dir); 1319 else if (KEYMATCH(p, "dest=")) dst->rotate_dir = _strdup_clean(p+5); 1320 else if (KEYMATCH(p, "dst=")) dst->rotate_dir = _strdup_clean(p+4); 1800 fprintf(f, " dest: %s\n", (o->rotate_dir == NULL) ? "(none)" : o->rotate_dir); 2307 if ((dst->rotate_dir == NULL) && ((dst->flags & MODULE_FLAG_STYLE_SEQ) == 0) && ((dst->flags & MODULE_FLAG_COMPRESS) == 0)) 2344 dst_dir = dst->rotate_dir;
|
Completed in 115 milliseconds