| 427 | } |
| 428 | |
| 429 | void |
| 430 | ConfigStoreImpl::set_string(const char* key, |
| 431 | const char* value) |
| 432 | { |
| 433 | const ConfigPair cp(key, value); |
| 434 | const bool log_info = log_level >= LogLevel::Info || debug_logging; |
| 435 | if (log_info) { |
| 436 | ACE_DEBUG((LM_INFO, "(%P|%t) INFO: ConfigStoreImpl::set_string: %C=%C\n", |
| 437 | cp.key().c_str(), |
| 438 | cp.value().c_str())); |
| 439 | } |
| 440 | if (config_writer_->write(cp) && !log_info && log_changes) { |
| 441 | ACE_DEBUG((LM_DEBUG, "(%P|%t) ConfigStoreImpl::set_string: %C=%C\n", |
| 442 | cp.key().c_str(), |
| 443 | cp.value().c_str())); |
| 444 | } |
| 445 | } |
| 446 | |
| 447 | char* |
| 448 | ConfigStoreImpl::get_string(const char* key, |