Created
August 11, 2010 23:19
-
-
Save krobertson/519994 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
g++ -DPACKAGE_NAME=\"scribe\" -DPACKAGE_TARNAME=\"scribe\" -DPACKAGE_VERSION=\"1.5.0\" -DPACKAGE_STRING=\"scribe\ 1.5.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"scribe\" -DVERSION=\"1.5.0\" -DHAVE_BOOST= -DHAVE_BOOST_SYSTEM= -DHAVE_BOOST_FILESYSTEM= -I. -I.. -I/usr/local/include -I/usr/local/include/thrift -I/usr/local/include/thrift -I/usr/local/include/thrift/fb303 -I/usr/local/include -I/usr/include -Wall -O3 -MT store.o -MD -MP -MF .deps/store.Tpo -c -o store.o store.cpp | |
In file included from env_default.h:24, | |
from common.h:57, | |
from store.cpp:28: | |
/usr/local/include/thrift/server/TNonblockingServer.h:33:19: error: event.h: No such file or directory | |
In file included from env_default.h:24, | |
from common.h:57, | |
from store.cpp:28: | |
/usr/local/include/thrift/server/TNonblockingServer.h:93: error: expected ‘;’ before ‘*’ token | |
/usr/local/include/thrift/server/TNonblockingServer.h:96: error: field ‘serverEvent_’ has incomplete type | |
/usr/local/include/thrift/server/TNonblockingServer.h:99: error: field ‘notificationEvent_’ has incomplete type | |
/usr/local/include/thrift/server/TNonblockingServer.h:280: error: expected ‘;’ before ‘*’ token | |
/usr/local/include/thrift/server/TNonblockingServer.h:285: error: expected `;' before ‘void’ | |
/usr/local/include/thrift/server/TNonblockingServer.h:543: error: ‘event_base’ has not been declared | |
/usr/local/include/thrift/server/TNonblockingServer.h: In constructor ‘apache::thrift::server::TNonblockingServer::TNonblockingServer(boost::shared_ptr<apache::thrift::TProcessor>, int)’: | |
/usr/local/include/thrift/server/TNonblockingServer.h:173: error: class ‘apache::thrift::server::TNonblockingServer’ does not have any field named ‘eventBase_’ | |
/usr/local/include/thrift/server/TNonblockingServer.h: In constructor ‘apache::thrift::server::TNonblockingServer::TNonblockingServer(boost::shared_ptr<apache::thrift::TProcessor>, boost::shared_ptr<apache::thrift::protocol::TProtocolFactory>, int, boost::shared_ptr<apache::thrift::concurrency::ThreadManager>)’: | |
/usr/local/include/thrift/server/TNonblockingServer.h:195: error: class ‘apache::thrift::server::TNonblockingServer’ does not have any field named ‘eventBase_’ | |
/usr/local/include/thrift/server/TNonblockingServer.h: In constructor ‘apache::thrift::server::TNonblockingServer::TNonblockingServer(boost::shared_ptr<apache::thrift::TProcessor>, boost::shared_ptr<apache::thrift::transport::TTransportFactory>, boost::shared_ptr<apache::thrift::transport::TTransportFactory>, boost::shared_ptr<apache::thrift::protocol::TProtocolFactory>, boost::shared_ptr<apache::thrift::protocol::TProtocolFactory>, int, boost::shared_ptr<apache::thrift::concurrency::ThreadManager>)’: | |
/usr/local/include/thrift/server/TNonblockingServer.h:226: error: class ‘apache::thrift::server::TNonblockingServer’ does not have any field named ‘eventBase_’ | |
/usr/local/include/thrift/server/TNonblockingServer.h: At global scope: | |
/usr/local/include/thrift/server/TNonblockingServer.h:592: error: field ‘event_’ has incomplete type | |
/usr/local/include/thrift/server/TNonblockingServer.h:634: error: field ‘taskEvent_’ has incomplete type | |
/usr/local/include/thrift/server/TNonblockingServer.h: In member function ‘void apache::thrift::server::TConnection::setRead()’: | |
/usr/local/include/thrift/server/TNonblockingServer.h:654: error: ‘EV_READ’ was not declared in this scope | |
/usr/local/include/thrift/server/TNonblockingServer.h:654: error: ‘EV_PERSIST’ was not declared in this scope | |
/usr/local/include/thrift/server/TNonblockingServer.h: In member function ‘void apache::thrift::server::TConnection::setWrite()’: | |
/usr/local/include/thrift/server/TNonblockingServer.h:659: error: ‘EV_WRITE’ was not declared in this scope | |
/usr/local/include/thrift/server/TNonblockingServer.h:659: error: ‘EV_PERSIST’ was not declared in this scope | |
store.cpp: In member function ‘void BufferStore::setNewRetryInterval(bool)’: | |
store.cpp:1673: warning: comparison between signed and unsigned integer expressions | |
store.cpp:1685: warning: comparison between signed and unsigned integer expressions | |
store.h: In constructor ‘NetworkStore::NetworkStore(StoreQueue*, const std::string&, bool)’: | |
store.h:407: warning: ‘NetworkStore::opened’ will be initialized after | |
store.h:401: warning: ‘time_t NetworkStore::lastServiceCheck’ | |
store.cpp:1735: warning: when initialized here |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It wasn't a system, it was just a combination of existing stuff. We write to a local log file using the framework's Logger class (this was a Rails app), we used logrotate to rotate it ever 5mins, and then scp it over to a central box with a special ssh key within the logrotate script. Its boring but it works and took a few hours to put together, far less time than we spent with scribe. Couple that with a few nagios monitors to make sure files don't get stuck and its worked great for almost a year.