Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add log_burst_limit_* options (#3865) | Mark Zealey | 2022-08-01 | 1 | -1/+5 |
| | | | | | | | | | | * Add log_burst_limit_* options On our ejabberd deployment we were sometimes seeing more than 500 msgs/sec of legitimate traffic, however this was getting silently dropped. Provide config options to enable this limit to be configured from the config file. * Pass new logging vars in via ejabberdctl | ||||
* | Fix errors and warnings for "rebar3 edoc" | Badlop | 2022-05-17 | 1 | -7/+0 |
| | |||||
* | Update copyright year to 2022 | Badlop | 2022-02-11 | 1 | -1/+1 |
| | |||||
* | Determine the default handlerid at runtime | Badlop | 2021-08-05 | 1 | -2/+10 |
| | | | | Apparently Elixir's default is not called 'default' | ||||
* | Update newest copyright year to 2021 (#3464) | Badlop | 2021-01-27 | 1 | -1/+1 |
| | |||||
* | Add 'ejabberdctl foreground-quiet' | Paweł Chmielowski | 2021-01-27 | 1 | -3/+20 |
| | | | | | This starts ejabberd without detaching process but setups console logging to display only critical messages. | ||||
* | Fix handling of log_rotate_size: infinity | Paweł Chmielowski | 2021-01-13 | 1 | -1/+6 |
| | | | | This should fix issue reported in #3462 | ||||
* | ejabberd_logger: Avoid excessive stat calls | Holger Weiss | 2020-06-23 | 1 | -0/+1 |
| | | | | | | | | | | | By default, the logger_std_h module shipped with OTP 21.0 and newer reads the log file information prior to each and every write operation. This is done to play well with external log rotation tools. In order to minimize the performance penalty in situations where the log file is flooded, configure logger_std_h to skip reading the file information as long as no more than one second has passed since it was last read. | ||||
* | Fix most EDoc errors, even if that's not used nowadays apparently | Badlop | 2020-05-11 | 1 | -7/+12 |
| | |||||
* | Update copyright to 2020 (#3149) | Badlop | 2020-01-28 | 1 | -1/+1 |
| | |||||
* | Stop SASL application in ejabberd_logger:flush() | Evgeny Khramtsov | 2019-10-25 | 1 | -1/+2 |
| | |||||
* | Avoid calling to logger module on OTP<22 | Evgeny Khramtsov | 2019-10-25 | 1 | -0/+2 |
| | |||||
* | Use lager on OTP<22.0 | Evgeny Khramtsov | 2019-10-25 | 1 | -23/+179 |
| | | | | This also lowers Erlang/OTP minimum version requirement back to 19.3 | ||||
* | Fix logger initialization on OTP<21.3 | Evgeny Khramtsov | 2019-10-23 | 1 | -2/+2 |
| | |||||
* | Report errors in logger initialization | Evgeny Khramtsov | 2019-10-23 | 1 | -13/+26 |
| | |||||
* | Log supervisor reports in debug loglevel | Evgeny Khramtsov | 2019-10-18 | 1 | -3/+18 |
| | |||||
* | Replace lager with built-in new logging API | Evgeny Khramtsov | 2019-10-18 | 1 | -176/+99 |
| | | | | | | | | | | | | | | | This change requires Erlang/OTP-21.0 or higher. The commit also deprecates the following options: - log_rotate_date - log_rate_limit Furthermore, these options have no effect. The logger now fully relies on log_rotate_size, that cannot be 0 anymore. The loglevel option now accepts levels in literal formats. Those are: none, emergency, alert, critical, error, warning, notice, info, debug. Old integer values (0-5) are still supported and automatically converted into literal format. | ||||
* | Correctly handle unicode in log messages | Evgeny Khramtsov | 2019-09-23 | 1 | -2/+2 |
| | |||||
* | Use new configuration validator | Evgeny Khramtsov | 2019-06-14 | 1 | -28/+12 |
| | |||||
* | Update copyright to 2019 (#2756) | Badlop | 2019-01-08 | 1 | -1/+1 |
| | |||||
* | ejabberd_logger: Disable debug logging properly | Holger Weiss | 2018-10-31 | 1 | -1/+1 |
| | | | | | Don't forget to disable xmpp's debug logging when reducing the log level from 5 to a lower value. | ||||
* | Bump lager version | Evgeny Khramtsov | 2018-09-07 | 1 | -1/+12 |
| | | | | This is needed for OTP-21 compatibility | ||||
* | Move XMPP stream and SASL processing to xmpp repo | Evgeniy Khramtsov | 2018-07-06 | 1 | -0/+4 |
| | |||||
* | Get rid of ejabberd.hrl header | Evgeniy Khramtsov | 2018-06-14 | 1 | -2/+1 |
| | | | | | | | | | The header consisted of too many unrelated stuff and macros misuse. Some stuff is moved into scram.hrl and type_compat.hrl. All macros have been replaced with the corresponding function calls. TODO: probably type_compat.hrl is not even needed anymore since we support only Erlang >= OTP 17.5 | ||||
* | Update copyright dates | Evgeniy Khramtsov | 2018-01-05 | 1 | -1/+1 |
| | |||||
* | Kill and restart lager when it's overloaded | Evgeniy Khramtsov | 2017-12-17 | 1 | -17/+31 |
| | |||||
* | Set high water mark in lager for all backends | Paweł Chmielowski | 2017-07-27 | 1 | -0/+3 |
| | |||||
* | lager_crash_log in some cases not run, catch it | getong | 2017-04-17 | 1 | -1/+1 |
| | |||||
* | Cleanup file headers | Christophe Romain | 2017-01-03 | 1 | -4/+4 |
| | |||||
* | Update copyright date automatically (#1442) | Badlop | 2017-01-02 | 1 | -1/+1 |
| | |||||
* | Lager to Elixir Logger bridge is now compliant with ejabberd loglevel set / get | Mickael Remond | 2016-03-09 | 1 | -9/+15 |
| | | | | This should fix #966 | ||||
* | Add Elixir Logger Backend to bridge logs from lager | Mickael Remond | 2016-03-09 | 1 | -2/+42 |
| | | | | | We will need to support loglevel bridging. It should help with #966 | ||||
* | Fixed type specifications for 'rebar doc' | Elias Rohrer | 2016-03-07 | 1 | -0/+6 |
| | | | | | - Fixed type @specs and -specs to remove 'rebar doc' errors - Removed a lot of wrong and deprecated documentation in ejabberd_piefxis.erl | ||||
* | Always use lagger | Paweł Chmielowski | 2016-01-26 | 1 | -64/+0 |
| | |||||
* | lager is the default logger, we need to reverse the define flag | Mickael Remond | 2016-01-23 | 1 | -59/+61 |
| | |||||
* | Update copyright to 2016 (#901) | Badlop | 2016-01-13 | 1 | -1/+1 |
| | |||||
* | Don't let "reopen_log" rotate files (EJAB-1243) | Holger Weiss | 2015-12-08 | 1 | -1/+10 |
| | | | | | | Make sure the "reopen_log" command really just reopens log files without also rotating them. For rotating log files, the new "rotate_log" command can be used. | ||||
* | cosmetic cleanup | Christophe Romain | 2015-10-07 | 1 | -1/+0 |
| | |||||
* | Add set_loglevel command (EJABS-2524) | Jerome Sautret | 2015-09-21 | 1 | -2/+5 |
| | |||||
* | Move opt_type/1 function out of if-else block | Evgeniy Khramtsov | 2015-06-03 | 1 | -11/+11 |
| | |||||
* | Fix typo | Evgeniy Khramtsov | 2015-06-03 | 1 | -1/+1 |
| | |||||
* | Add missing options of ejabberd_logger to validator | Evgeniy Khramtsov | 2015-06-03 | 1 | -1/+14 |
| | |||||
* | Make sure Mnesia dir environment and log file are list, not binary | Mickael Remond | 2015-04-06 | 1 | -1/+3 |
| | | | | | This is useful for Elixir configuration, as binary is the more natural data type. Closes #514 | ||||
* | Fix integer parameter which can be set to 0 | Christophe Romain | 2015-01-22 | 1 | -7/+7 |
| | |||||
* | Fix missing copyright dates to 2015 (EJAB-1733) | Christophe Romain | 2015-01-21 | 1 | -1/+1 |
| | |||||
* | add ability to rotate logs on given date condition | Christophe Romain | 2014-07-02 | 1 | -2/+16 |
| | |||||
* | New option support: log_rotate_count | Evgeniy Khramtsov | 2014-07-02 | 1 | -2/+6 |
| | |||||
* | Support new options: log_rotate_size and log_rate_limit | Evgeniy Khramtsov | 2014-07-02 | 1 | -2/+20 |
| | |||||
* | Disable SASL error logger if lager is enabled | Evgeniy Khramtsov | 2014-07-02 | 1 | -4/+5 |
| | |||||
* | Update FSF address | Jamie Nguyen | 2014-02-22 | 1 | -4/+3 |
| |