田中さん

On Sat, 25 Oct 2014 17:24:37 +0900, TANAKA Hidemune <[email protected]> 
wrote:
> Drawのバグを潰そうとチャレンジしています。
いいですね。

> SAL_INFOでログを出力しようとしていますが、
> 
> https://wiki.documentfoundation.org/Development/How_to_debug
> 
> を見ても、ログの出力先が分からず発見できません。
> OSはUBUNTUを使用しています。
> 
> 以下のように、ソースにSAL_INFOの文を埋め込んで、
> $ make debug=true dbglevel=2
> $ sudo make install
ビルドを開発のために動かす場合は make install を実行する必要はなく、
$ make debug=true dbglevel=2
がうまくいけば
$ ./instdir/program/soffice --draw
で実行できます。
これで標準エラー出力に SAL_INFO のメッセージが出てくるはずです。
http://api.libreoffice.org/docs/cpp/ref/a00002.html
に(コードの include/sal/log.hxx のコメントにあるものと同じ)説明
があり参考になります。

-- Takeshi Abe

> 
> $ export SAL_LOG=+INFO,+WARN
> $ /usr/local/lib/libreoffice/program/soffice
> 
> のように実行しています。
> 
> 方法が間違っているとか、ここを探せばログが有るはずだ、等
> 何かヒントなどご教示頂ければと思います。
> 
> 以上、よろしくお願い致します。
> 
> -- 
> ■□■□■□■□■□■□■□■□■□■□■□■
> 
>  株式会社 田中コンピューターサービス
> 
>      代表取締役 田中 秀宗
>            TANAKA Hidemune
> 
>   本 社 東京都北区滝野川7丁目45番14号
>   電 話 03−3576−7272
>   FAX 03−3576−7272
>   携 帯 090−6187−1418
>   E-Mail [email protected]
>       http://tanaka-cs.co.jp
> 
> ■□■□■□■□■□■□■□■□■□■□■□■
> 
> -- 
> Unsubscribe instructions: E-mail to [email protected]
> Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
> List archive: http://listarchives.libreoffice.org/ja/discuss/
> All messages sent to this list will be publicly archived and cannot be deleted
> 

-- 
Unsubscribe instructions: E-mail to [email protected]
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/ja/discuss/
All messages sent to this list will be publicly archived and cannot be deleted

メールによる返信