summaryrefslogtreecommitdiff
path: root/src/ejabberd_logger.erl (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix errors and warnings for "rebar3 edoc"Badlop2022-05-171-7/+0
|
* Update copyright year to 2022Badlop2022-02-111-1/+1
|
* Determine the default handlerid at runtimeBadlop2021-08-051-2/+10
| | | | Apparently Elixir's default is not called 'default'
* Update newest copyright year to 2021 (#3464)Badlop2021-01-271-1/+1
|
* Add 'ejabberdctl foreground-quiet'Paweł Chmielowski2021-01-271-3/+20
| | | | | This starts ejabberd without detaching process but setups console logging to display only critical messages.
* Fix handling of log_rotate_size: infinityPaweł Chmielowski2021-01-131-1/+6
| | | | This should fix issue reported in #3462
* ejabberd_logger: Avoid excessive stat callsHolger Weiss2020-06-231-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 apparentlyBadlop2020-05-111-7/+12
|
* Update copyright to 2020 (#3149)Badlop2020-01-281-1/+1
|
* Stop SASL application in ejabberd_logger:flush()Evgeny Khramtsov2019-10-251-1/+2
|
* Avoid calling to logger module on OTP<22Evgeny Khramtsov2019-10-251-0/+2
|
* Use lager on OTP<22.0Evgeny Khramtsov2019-10-251-23/+179
| | | | This also lowers Erlang/OTP minimum version requirement back to 19.3
* Fix logger initialization on OTP<21.3Evgeny Khramtsov2019-10-231-2/+2
|
* Report errors in logger initializationEvgeny Khramtsov2019-10-231-13/+26
|
* Log supervisor reports in debug loglevelEvgeny Khramtsov2019-10-181-3/+18
|
* Replace lager with built-in new logging APIEvgeny Khramtsov2019-10-181-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 messagesEvgeny Khramtsov2019-09-231-2/+2
|
* Use new configuration validatorEvgeny Khramtsov2019-06-141-28/+12
|
* Update copyright to 2019 (#2756)Badlop2019-01-081-1/+1
|
* ejabberd_logger: Disable debug logging properlyHolger Weiss2018-10-311-1/+1
| | | | | Don't forget to disable xmpp's debug logging when reducing the log level from 5 to a lower value.
* Bump lager versionEvgeny Khramtsov2018-09-071-1/+12
| | | | This is needed for OTP-21 compatibility
* Move XMPP stream and SASL processing to xmpp repoEvgeniy Khramtsov2018-07-061-0/+4
|
* Get rid of ejabberd.hrl headerEvgeniy Khramtsov2018-06-141-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 datesEvgeniy Khramtsov2018-01-051-1/+1
|
* Kill and restart lager when it's overloadedEvgeniy Khramtsov2017-12-171-17/+31
|
* Set high water mark in lager for all backendsPaweł Chmielowski2017-07-271-0/+3
|
* lager_crash_log in some cases not run, catch itgetong2017-04-171-1/+1
|
* Cleanup file headersChristophe Romain2017-01-031-4/+4
|
* Update copyright date automatically (#1442)Badlop2017-01-021-1/+1
|
* Lager to Elixir Logger bridge is now compliant with ejabberd loglevel set / getMickael Remond2016-03-091-9/+15
| | | | This should fix #966
* Add Elixir Logger Backend to bridge logs from lagerMickael Remond2016-03-091-2/+42
| | | | | We will need to support loglevel bridging. It should help with #966
* Fixed type specifications for 'rebar doc'Elias Rohrer2016-03-071-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 laggerPaweł Chmielowski2016-01-261-64/+0
|
* lager is the default logger, we need to reverse the define flagMickael Remond2016-01-231-59/+61
|
* Update copyright to 2016 (#901)Badlop2016-01-131-1/+1
|
* Don't let "reopen_log" rotate files (EJAB-1243)Holger Weiss2015-12-081-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 cleanupChristophe Romain2015-10-071-1/+0
|
* Add set_loglevel command (EJABS-2524)Jerome Sautret2015-09-211-2/+5
|
* Move opt_type/1 function out of if-else blockEvgeniy Khramtsov2015-06-031-11/+11
|
* Fix typoEvgeniy Khramtsov2015-06-031-1/+1
|
* Add missing options of ejabberd_logger to validatorEvgeniy Khramtsov2015-06-031-1/+14
|
* Make sure Mnesia dir environment and log file are list, not binaryMickael Remond2015-04-061-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 0Christophe Romain2015-01-221-7/+7
|
* Fix missing copyright dates to 2015 (EJAB-1733)Christophe Romain2015-01-211-1/+1
|
* add ability to rotate logs on given date conditionChristophe Romain2014-07-021-2/+16
|
* New option support: log_rotate_countEvgeniy Khramtsov2014-07-021-2/+6
|
* Support new options: log_rotate_size and log_rate_limitEvgeniy Khramtsov2014-07-021-2/+20
|
* Disable SASL error logger if lager is enabledEvgeniy Khramtsov2014-07-021-4/+5
|
* Update FSF addressJamie Nguyen2014-02-221-4/+3
|
* Do not rely on p1_logger_h module when lager is enabledEvgeniy Khramtsov2013-08-271-1/+10
|