erlang でエラーログを管理する方法を調べたのでメモ。 まず、sasl の設定ファイルを作成。適当に elog.config として保存する。 [{sasl, [ {sasl_error_logger, false}, {errlog_type, error}, {error_logger_mf_dir, "/path/to/logs"}, {error_logger_mf_maxbytes, 10485760}, %% 10MB {error_logger_mf_maxfiles, 10} ]}]. Programming Erlang まんまですが・・・これで、error のみ /path/to/logs 配下のファイルに保存し、ファイルのローテーションも行ってくれる。(上記設定で、1 ファイル最大 10MB で 10 ファイルまで保持する) 次に、下記のように erl を実行する
User Interface: entop's interface can be customized so this section only applies for the "built-in" interface. Headers First row Shows information about the node which is more or less static such as the node name the operating system, erl flags and erlang version it is running. Second row Shows information on what the local time is (according to the node), how long it has been up for (Days:Hours:M
Witajcie Pracujemy nad serwisem w pocie czoła i wkrótce startujemy. Trzymajcie kciuki. Naszym celem jest informowanie o działaniach i integracja polskiej społeczności zainteresowanej treściami nt. programowania. Interesują Cię poniższe materiały? materiały wideo, portale, blogi, szkolenia, kursy, webinaria, konferencje naukowe, tematyczne i popularne, studia, książki, i wiele innych treści. Będzie
The following configuration parameters are defined for the SASL application. For more information about configuration parameters, see app(4) in Kernel. All configuration parameters are optional. start_prg = string() Specifies the program to be used when restarting the system during release installation. Default is $OTPROOT/bin/start. masters = [atom()] Specifies the nodes used by this node to read
Today we will continue exploring techniques for debugging and tracing Elixir code that are so important for running and understanding production systems. In the past, we have discussed: how to debug your application how to trace systems with Erlyberly how to use the observer to introspect applications. The examples above always connected to systems running locally. Given Elixir’s and the Erlang VM
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く