#glog
-
glog 0.3.2
-
入力(設定等)
-
引数による指定(Google gflags libraryがインストールしてあれば、glog提供のフラグが引数から扱えるようにナル)
| 【基本方針】 | |
| - standalone:設定は引数などで指定する(ファイルから?) | |
| - 分散時(非standalone) | |
| - set_config メソッド廃止し、代わりにZKに設定ファイルをおく | |
| - サーバはZKから対応するインスタンスの設定ファイルをとってくる(またクラスタ、自動的に適宜 MIXを行う) | |
| 【問題: ZK上の設定が動的変更される可能性がある】 | |
| - 既にサーバが起動している状態で、ZK上の設定ファイルを変更し、新しくサーバを追加する | |
| - 設定の異なるサーバが同じインスタンス上に存在してしまう → インスタンス全体で設定に不整合有り、MIXできない問題 |
| 0. ログ出力の目的 | |
| - システム情報の通知 | |
| - 運用におけるエラー、異常の通知 | |
| - システムの不正な動きの報告(セキュリティ) | |
| - デバッグ | |
| 1. 利用するライブラリ | |
| http://code.google.com/p/google-glog/ |
| diff --git a/src/framework/mixer/wscript b/src/framework/mixer/wscript | |
| index 17b366e..20fe479 100644 | |
| --- a/src/framework/mixer/wscript | |
| +++ b/src/framework/mixer/wscript | |
| @@ -5,11 +5,12 @@ def configure(conf): | |
| pass | |
| def build(bld): | |
| - bld.shlib(target = 'jubamixer', | |
| - source = 'linear_mixer.cpp', |
#glog
glog 0.3.2
入力(設定等)
引数による指定(Google gflags libraryがインストールしてあれば、glog提供のフラグが引数から扱えるようにナル)
| This file contains any messages produced by compilers while | |
| running configure, to aid debugging if configure makes a mistake. | |
| It was created by configure, which was | |
| generated by GNU Autoconf 2.69. Invocation command line was | |
| $ ./configure | |
| ## --------- ## | |
| ## Platform. ## |
| diff --git a/configure.in b/configure.in | |
| index 7993816..434b575 100644 | |
| --- a/configure.in | |
| +++ b/configure.in | |
| @@ -1,19 +1,23 @@ | |
| # Copyright (C) 2013 Preferred Infrastructure and Nippon Telegraph and Telephone Corporation. | |
| AC_INIT(mpsrc/wavy_kernel.h) | |
| +m4_include(m4/ax_check_link_flag.m4) | |
| AC_CONFIG_AUX_DIR(ac) |
http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml
これをベースにJubatus向けに直す。直す際には、書式の再フォーマット以外での変更はバグ回避のためなるべく最小限に抑えてコードを綺麗にしたい。