Changeset 940
- Timestamp:
- 01/03/07 08:03:32 (2 years ago)
- Files:
-
- trunk/pdns/pdns/dnspacket.cc (modified) (1 diff)
- trunk/pdns/pdns/nameserver.cc (modified) (1 diff)
- trunk/pdns/pdns/packethandler.cc (modified) (1 diff)
- trunk/pdns/pdns/tools/rrd/create (modified) (1 diff)
- trunk/pdns/pdns/tools/rrd/update (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/pdns/pdns/dnspacket.cc
r918 r940 1128 1128 return; 1129 1129 1130 DLOG(L<<Logger::Warning<<"Truncating a packet to "<< inet_ntoa( reinterpret_cast< sockaddr_in * >( remote )->sin_addr )<<endl);1130 DLOG(L<<Logger::Warning<<"Truncating a packet to "<< remote.toString() <<endl); 1131 1131 1132 1132 len=new_length; trunk/pdns/pdns/nameserver.cc
r888 r940 192 192 { 193 193 const char *buffer=p->getData(); 194 DLOG(L<<Logger::Notice<<"Sending a packet to "<< inet_ntoa( reinterpret_cast< sockaddr_in * >(( p->remote ))->sin_addr)<<" ("<<p->len<<" octets)"<<endl);194 DLOG(L<<Logger::Notice<<"Sending a packet to "<< p->remote.toString() <<" ("<<p->len<<" octets)"<<endl); 195 195 if(p->len>512) { 196 196 p=new DNSPacket(*p); trunk/pdns/pdns/packethandler.cc
r912 r940 565 565 DNSPacket *r=0; 566 566 try { 567 DLOG(L << Logger::Notice<<"Remote "<< inet_ntoa( reinterpret_cast< struct sockaddr_in * >( &( p->remote ))->sin_addr )<<" wants a type " << p->qtype.getName() << " ("<<p->qtype.getCode()<<") about '"<<p->qdomain << "'" << endl);567 DLOG(L << Logger::Notice<<"Remote "<< p->remote.toString() <<" wants a type " << p->qtype.getName() << " ("<<p->qtype.getCode()<<") about '"<<p->qdomain << "'" << endl); 568 568 569 569 // XXX FIXME Find out why this isn't working! trunk/pdns/pdns/tools/rrd/create
r676 r940 27 27 DS:qa-latency:GAUGE:600:0:10000000 \ 28 28 DS:user-msec:COUNTER:600:0:2000 \ 29 DS:uptime:GAUGE:600:0:U \ 29 30 DS:client-parse-errors:COUNTER:600:0:1000000 \ 30 31 DS:server-parse-errors:COUNTER:600:0:1000000 \ trunk/pdns/pdns/tools/rrd/update
r677 r940 11 11 cache-hits cache-misses answers0-1 answers1-10 answers10-100 answers100-1000 answers-slow\ 12 12 qa-latency throttle-entries sys-msec user-msec unauthorized-udp unauthorized-tcp client-parse-errors\ 13 server-parse-errors "13 server-parse-errors uptime" 14 14 15 15 UVARIABLES=$(echo $VARIABLES | tr '[a-z]' '[A-Z]' | tr - _ )