Changeset 5284 for source/ariba/utility
- Timestamp:
- Jul 24, 2009, 3:23:11 PM (15 years ago)
- Location:
- source/ariba/utility
- Files:
-
- 88 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/utility/bootstrap/modules/multicastdns/MulticastDns.cpp
r4850 r5284 1 1 2 // [License] 2 3 // The Ariba-Underlay Copyright -
source/ariba/utility/serialization/DataStream.hpp
r4619 r5284 44 44 #include <boost/type_traits/make_unsigned.hpp> 45 45 46 #include <cassert> 46 47 #include <iostream> 47 48 #include <vector> … … 331 332 bits.setLength(index); 332 333 return bits; 334 } 335 336 finline uint8_t* bytes( size_t length ) { 337 assert((index%bits.word_width)==0); 338 if (!isMeasure()) { 339 bits.ensureLength( index + length * 8); 340 uint8_t* buffer = (uint8_t*)bits.getBuffer()+(index/bits.word_width); 341 index += length*8; 342 return buffer; 343 } else { 344 index += length*8; 345 return NULL; 346 } 333 347 } 334 348 -
source/ariba/utility/system/StartupWrapper.cpp
r5151 r5284 98 98 { 99 99 log4cxx::LoggerPtr logger(log4cxx::Logger::getRootLogger()); 100 logger->setLevel(log4cxx::Level::get Debug());100 logger->setLevel(log4cxx::Level::getError()); 101 101 } 102 102 103 103 // set up again an individual level if you like 104 104 { 105 //log4cxx::LoggerPtr logger(log4cxx::Logger::getLogger("PingPong"));106 //logger->setLevel(log4cxx::Level::getDebug());105 log4cxx::LoggerPtr logger(log4cxx::Logger::getLogger("PingPong")); 106 logger->setLevel(log4cxx::Level::getDebug()); 107 107 } 108 108 { 109 //log4cxx::LoggerPtr logger(log4cxx::Logger::getLogger("BaseCommunication"));110 // logger->setLevel(log4cxx::Level::getDebug());109 log4cxx::LoggerPtr logger(log4cxx::Logger::getLogger("BaseCommunication")); 110 logger->setLevel(log4cxx::Level::getInfo()); 111 111 } 112 112
Note:
See TracChangeset
for help on using the changeset viewer.