Permalink
Browse files

tweak logging levels for EUCA-3861 fixes

  • Loading branch information...
1 parent 0ae6a5e commit 3f590a2a8a86b4dd86e281254697640c6fb37d94 @juphoff juphoff committed Oct 26, 2012
Showing with 3 additions and 3 deletions.
  1. +2 −2 cluster/handlers.c
  2. +1 −1 util/sensor.c
View
@@ -3489,15 +3489,15 @@ int init_pthreads() {
sigprocmask(SIG_SETMASK, &newsigact.sa_mask, NULL);
sigaction(SIGTERM, &newsigact, NULL);
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
logprintfl (EUCAERROR, "failed to invoke the sensor polling process\n");
exit(0);
} else {
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
logprintfl (EUCAERROR, "failed to initialize sensor subsystem in this process\n");
} else {
View
@@ -321,7 +321,7 @@ int sensor_init (sem * sem, sensorResourceCache * resources, int resources_size,
if (!sensor_state->initialized) {
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;
sem_v (state_sem);

0 comments on commit 3f590a2

Please sign in to comment.