Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker logs are "lost" once the elixir app boot #1649

Open
dincho opened this issue Dec 18, 2023 · 0 comments
Open

Docker logs are "lost" once the elixir app boot #1649

dincho opened this issue Dec 18, 2023 · 0 comments

Comments

@dincho
Copy link
Member

dincho commented Dec 18, 2023

09:27:48.666 [info] Starting aecore node
09:27:48.667 [debug] add_queue(gc_scan, [{regulators,[{rate,[{limit,50}]},{counter,[{limit,1}]}]}])
09:27:48.673 [debug] Res = ok
09:27:48.673 [debug] add_queue(http_read, [{regulators,[{counter,[{limit,5}]}]},{max_size,100}])
09:27:48.682 [debug] Res = ok
09:27:48.683 [debug] add_queue(http_update, [{regulators,[{counter,[{limit,5}]}]},{max_size,50}])
09:27:48.686 [debug] Res = ok
09:27:48.686 [debug] add_queue(sc_ws_handlers, [{regulators,[{counter,[{limit,10}]}]},{max_size,5}])
09:27:48.686 [debug] Res = ok
09:27:48.686 [debug] add_queue(sync_gossip, [{regulators,[{counter,[{limit,5}]}]}])
09:27:48.687 [debug] Res = ok
09:27:48.687 [debug] add_queue(sync_ping, [{regulators,[{counter,[{limit,3}]}]}])
09:27:48.687 [debug] Res = ok
09:27:48.687 [debug] add_queue(sync_tasks, [{regulators,[{counter,[{limit,10}]}]}])
09:27:48.687 [debug] Res = ok
09:27:48.687 [debug] add_queue(tx_pool_push, [{regulators,[{counter,[{limit,5},{modifiers,[{<<"mempool.size">>,15}]}]}]},{max_size,5000}])
09:27:48.687 [debug] Res = ok
09:27:48.688 [debug] no metrics rules defined
09:27:48.688 [info] Initializing keys manager
09:27:48.691 [debug] init: GCHeight = 180
09:27:48.693 [debug] Cfg = #{<<"during_sync">> => false,<<"enabled">> => false,<<"history">> => 15000,<<"minimum_height">> => 0,<<"trees">> => [accounts,calls,channels,contracts,ns_cache,ns,oracles_cache,oracles]}
09:27:48.692 [info] Detailed peer statistics are disabled
09:27:48.695 [debug] LastSwitch = 0
09:27:48.695 [debug] Options = []
09:27:48.722 [debug] Height 180, calling leader with amount 0 aettos, encoded <<"cb_KxGkPMxUP7a3L/k=">>
09:27:48.734 [debug] start_phase(create_metrics_probes, _, _)
09:27:48.735 [debug] chain_metrics probe initialized
09:27:48.736 [debug] tx_pool_metrics probe initialized
09:27:48.736 [info] aec_monitor_metrics_probe:probe_init([ae,epoch,aecore,eper], probe, [{module,aec_monitor_metrics_probe},{type,probe}])
09:27:48.737 [debug] start_phase(start_reporters, _, _)
09:27:48.738 [debug] no metrics rules defined
09:27:48.738 [debug] Dest tab = []
09:27:48.768 [debug] connected to statsd
09:27:48.768 [info] Application aecore started on node aeternity@localhost
09:27:48.770 [info] Application ae_plugin started on node aeternity@localhost
09:27:48.784 [debug] Missing block with height 399 detected, requesting it
09:27:48.784 [debug] Unable to pick the next leader for height 181, parent height 401; reason is not_in_cache
09:27:48.795 [debug] Populating the cache forward, requesting block with height 401
warning: the level for Erlang's logger was set to :debug, but Elixir's logger was set to :info. Elixir's logger value will take higher precedence
  (logger 1.13.4) lib/logger/app.ex:101: Logger.App.add_elixir_handler/2
  (logger 1.13.4) lib/logger/app.ex:26: Logger.App.start/2
  (kernel 7.3.1.7) application_master.erl:277: :application_master.start_it_old/4

09:27:48.818 [debug] Populating the cache forward, requesting block with height 402
09:27:48.824 [info] Application logger started on node aeternity@localhost
09:27:48.824 [info] Application eex started on node aeternity@localhost
09:27:48.839 [debug] Populating the cache forward, requesting block with height 403
09:27:48.840 [info] Application mime started on node aeternity@localhost
09:27:48.846 [info] Application plug_crypto started on node aeternity@localhost
09:27:48.851 [debug] Populating the cache forward, requesting block with height 404
09:27:48.851 [info] Application telemetry started on node aeternity@localhost
09:27:48.856 [info] Application plug started on node aeternity@localhost
09:27:48.856 [info] Application cors_plug started on node aeternity@localhost
09:27:48.857 [info] Application ex2ms started on node aeternity@localhost
09:27:48.862 [info] Application gen_state_machine started on node aeternity@localhost
09:27:48.864 [debug] Populating the cache forward, requesting block with height 405
09:27:48.868 [info] Application gettext started on node aeternity@localhost
09:27:48.869 [info] Application jason started on node aeternity@localhost
09:27:48.869 [info] Application logger_file_backend started on node aeternity@localhost
09:27:48.869 [info] Application logger_json started on node aeternity@localhost
09:27:48.874 [info] Application phoenix_pubsub started on node aeternity@localhost
09:27:48.874 [info] Application phoenix_view started on node aeternity@localhost
09:27:48.877 [debug] Populating the cache forward, requesting block with height 406
09:27:48.891 [info] Application phoenix started on node aeternity@localhost
09:27:48.891 [debug] Populating the cache forward, requesting block with height 407
09:27:48.892 [info] Application phoenix_html started on node aeternity@localhost
09:27:48.898 [info] Application phoenix_live_view started on node aeternity@localhost
09:27:48.899 [info] Application telemetry_metrics started on node aeternity@localhost
09:27:48.904 [debug] Populating the cache forward, requesting block with height 408
09:27:48.907 [info] Application phoenix_live_dashboard started on node aeternity@localhost
09:27:48.907 [info] Application cowlib started on node aeternity@localhost
09:27:48.916 [info] Application cowboy started on node aeternity@localhost
09:27:48.916 [info] Application cowboy_telemetry started on node aeternity@localhost
09:27:48.916 [debug] Populating the cache forward, requesting block with height 409
09:27:48.921 [info] Application plug_cowboy started on node aeternity@localhost
09:27:48.921 [info] Application smart_global started on node aeternity@localhost
09:27:48.921 [info] Application stream_split started on node aeternity@localhost
09:27:48.921 [info] Application nimble_options started on node aeternity@localhost
09:27:48.921 [info] Application telemetry_metrics_statsd started on node aeternity@localhost
09:27:48.928 [debug] Populating the cache forward, requesting block with height 410
09:27:48.932 [info] Application telemetry_poller started on node aeternity@localhost
09:27:48.932 [info] Application tesla started on node aeternity@localhost
09:27:48.940 [debug] Populating the cache forward, requesting block with height 411
09:27:48.940 [info] Application websockex started on node aeternity@localhost
---END OF LOG LINES--

The node in the example is with log level of debug, which usually produce tons of logs, while in the example above it "stops" producing logs. This could be some kind of log interfering between both applications or libraries they use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant