方案一:
缺点是:通过RPC调用比较重,,如果有些公司没有部署PRC框架,,还得部署
方案二:使用Flume框架传输日志文件,,,
Flume 还待研究
参考:
日志传输框架
http://flume.apache.org/
自定义日志文件输出 自定义appender
http://stackoverflow.com/questions/7756308/log4j-modify-logged-message-using-custom-appender
方案一:
缺点是:通过RPC调用比较重,,如果有些公司没有部署PRC框架,,还得部署
方案二:使用Flume框架传输日志文件,,,
Flume 还待研究
参考:
日志传输框架
http://flume.apache.org/
自定义日志文件输出 自定义appender
http://stackoverflow.com/questions/7756308/log4j-modify-logged-message-using-custom-appender