AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Ejabberd log file7/31/2023 ![]() ![]() Now when I run my service with iex -no-halt -S mix, ejabberd picks up the Elixir logger just fine, and I see this: Application logger started at ejabberd logger options, using Elixir Logger.Įjabberd 18.4.0 is started in the node ejabberd started at when I create a release build with mix release and start that, ejabberd does not pick up the logger: Application logger started at ejabberd started on node ejabberd started at in between the start of logger and ejabberd I also get Application logger started at suspect that ejabberd doesn’t know about the “first” logger, because it’s running on a “different node”. changes to make an effect you have to logout from the modified account and login again. I changed extra_applications, with the intention of making sure that logger starts before ejabberd (am I doing this right?). ulimit -a core file size (blocks, -c) 0 data seg size (kbytes. log log-file: Log Jabber events to specified log-file. ![]() I also noticed that ejabberd explicitly checks for the Elixir logger, and uses that when it’s present: Specifies an alternate spool-dir to store user database instead of the default (/var/lib/ejabberd). For the Elixir part of the app, this works fine where I do something along the lines of config :logger,Ĭonsole: Configuration directory: ejabberd.yml ejabberd configuration file ejabberdctl.cfg Configuration file of. One of the first things I would like to do, is to change the log format to a custom one. 130 CONTENTS 7 Debugging 7 131 7.1 Log Files. Unfortunately I don’t have any experience with Elixir / OTP and the tooling around them.Įrlang/OTP 20 ![]() I’ve inherited an Elixir app, that embeds ejabberd, as is described here: ![]()
0 Comments
Read More
Leave a Reply. |