Skip to content

Commit

Permalink
tweak logging levels for EUCA-3861 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
juphoff committed Oct 26, 2012
1 parent 0ae6a5e commit 3f590a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cluster/handlers.c
Expand Up @@ -3489,15 +3489,15 @@ int init_pthreads() {
sigprocmask(SIG_SETMASK, &newsigact.sa_mask, NULL); sigprocmask(SIG_SETMASK, &newsigact.sa_mask, NULL);
sigaction(SIGTERM, &newsigact, NULL); sigaction(SIGTERM, &newsigact, NULL);
logprintfl (EUCADEBUG, "sensor polling process running\n"); logprintfl (EUCADEBUG, "sensor polling process running\n");
logprintfl (EUCATRACE, "calling sensor_init() to not return.\n"); logprintfl (EUCADEBUG, "calling sensor_init() to not return.\n");
if (sensor_init (s, ccSensorResourceCache, MAX_SENSOR_RESOURCES, TRUE, update_config)==ERROR) // this call will not return if (sensor_init (s, ccSensorResourceCache, MAX_SENSOR_RESOURCES, TRUE, update_config)==ERROR) // this call will not return
logprintfl (EUCAERROR, "failed to invoke the sensor polling process\n"); logprintfl (EUCAERROR, "failed to invoke the sensor polling process\n");
exit(0); exit(0);
} else { } else {
config->threads[SENSOR] = pid; config->threads[SENSOR] = pid;
} }
} }
logprintfl (EUCATRACE, "calling sensor_init(..., NULL) to return.\n"); logprintfl (EUCADEBUG, "calling sensor_init(..., NULL) to return.\n");
if (sensor_init (s, ccSensorResourceCache, MAX_SENSOR_RESOURCES, FALSE, NULL)==ERROR) { // this call will return if (sensor_init (s, ccSensorResourceCache, MAX_SENSOR_RESOURCES, FALSE, NULL)==ERROR) { // this call will return
logprintfl (EUCAERROR, "failed to initialize sensor subsystem in this process\n"); logprintfl (EUCAERROR, "failed to initialize sensor subsystem in this process\n");
} else { } else {
Expand Down
2 changes: 1 addition & 1 deletion util/sensor.c
Expand Up @@ -321,7 +321,7 @@ int sensor_init (sem * sem, sensorResourceCache * resources, int resources_size,
if (!sensor_state->initialized) { if (!sensor_state->initialized) {
init_state (resources_size); init_state (resources_size);
} }
logprintfl (EUCATRACE, "setting sensor_update_euca_config: %s\n", update_euca_config_function ? "TRUE" : "NULL"); logprintfl (EUCADEBUG, "setting sensor_update_euca_config: %s\n", update_euca_config_function ? "TRUE" : "NULL");
sensor_update_euca_config = update_euca_config_function; sensor_update_euca_config = update_euca_config_function;
sem_v (state_sem); sem_v (state_sem);


Expand Down

0 comments on commit 3f590a2

Please sign in to comment.