logfile 342 lib/ais/plugin.c FILE *logfile = fopen(value, "a"); logfile 344 lib/ais/plugin.c if (logfile) { logfile 346 lib/ais/plugin.c int logfd = fileno(logfile); logfile 348 lib/ais/plugin.c pcmk_env.logfile = value; logfile 355 lib/ais/plugin.c fprintf(logfile, "Could not set r/w permissions for uid=%d, gid=%d on %s\n", logfile 359 lib/ais/plugin.c fprintf(logfile, "Set r/w permissions for uid=%d, gid=%d on %s\n", logfile 362 lib/ais/plugin.c fflush(logfile); logfile 364 lib/ais/plugin.c fclose(logfile); logfile 593 lib/ais/plugin.c pcmk_env.logfile = NULL; logfile 236 lib/ais/utils.c if (pcmk_env.logfile) { logfile 237 lib/ais/utils.c setenv("HA_logfile", pcmk_env.logfile, 1); logfile 234 lib/ais/utils.h const char *logfile; logfile 235 lib/common/logging.c FILE *logfile = NULL; logfile 270 lib/common/logging.c logfile = fopen(filename, "a"); logfile 271 lib/common/logging.c if(logfile == NULL) { logfile 283 lib/common/logging.c int logfd = fileno(logfile); logfile 288 lib/common/logging.c fclose(logfile); logfile 314 lib/common/logging.c fprintf(logfile, "Set r/w permissions for uid=%d, gid=%d on %s\n", logfile 316 lib/common/logging.c if (fflush(logfile) < 0 || fsync(logfd) < 0) { logfile 323 lib/common/logging.c fclose(logfile); logfile 762 lib/common/logging.c const char *logfile = daemon_option("logfile"); logfile 819 lib/common/logging.c if (safe_str_eq("none", logfile)) { logfile 823 lib/common/logging.c crm_add_logfile(logfile); logfile 824 lib/common/logging.c } else if(logfile) { logfile 825 lib/common/logging.c crm_add_logfile(logfile); logfile 415 mcp/corosync.c char *logfile = NULL; logfile 419 mcp/corosync.c get_config_opt(config, local_handle, KEY_PREFIX "logfile", &logfile, "/var/log/pacemaker.log"); logfile 424 mcp/corosync.c } else if (crm_add_logfile(logfile)) { logfile 425 mcp/corosync.c set_daemon_option("logfile", logfile); logfile 428 mcp/corosync.c crm_err("Couldn't create logfile: %s", logfile); logfile 432 mcp/corosync.c free(logfile);