aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add support for changing the loglevels for given modules (EJAB-225)Andreas Köhler2010-10-151-18/+38
| | | | | | | | | | | | | | | | | | | ejabberd_loglevel:set/1 now understands more input formats: set(Param) -> {module, ejabberd_logger} Param = Level | {Level, CustomLevels} CustomLevels = [CustomLevel] CustomLevel = {Module, Level} Module = atom() Level = integer() | atom() set(Level) is equivalent to set({Level, []}), so it clears all module level customizations. log_src/2 adds additional function heads for those _msg function and module combinations that need non-default behavior, i.e. add or filter logging. ejabberd_loglevel:get/0 only returns the default log level. To retrieve the complete setting use ejabberd_logger:get/0 instead.
* Use warning_msg event type for warning log level.Andreas Köhler2010-10-151-1/+1
|
* Add warning message and report handlers to ejabberd_logger_h.erl.Andreas Köhler2010-10-151-0/+13
|
* Improve ejabberd_logger code generationAndreas Köhler2010-10-151-41/+40
| | | | | | | | | | | | | | | | Split the monolithic function ejabberd_loglevel:ejabberd_logger_src/1 into separate functions returning deep lists. log_src/2 now returns the code for any of *_msg/4. Its parameters are the current loglevel (integer()) and a loglevel specification (#loglevel{}), with added information in #loglevel: - function: The api function enabled by this level, may be no_log - event_type: The type of the event sent to the error_logger - msg_prefix: One character used in the message (one of "DIWEC") If the current loglevel is too low for logging, the api function is optimized at compile time.
* Use records for encoding static loglevel information.Andreas Köhler2010-10-151-12/+18
|
* Speed up ejabberd_s2s:is_service/2, allow_host/2 (thanks to Andreas ↵Badlop2010-10-141-18/+18
| | | | | | | | | | Köhler)(EJAB-1319) Iterating through the list of possible parent domains of a given domain and comparing with the list of hosts or routes is almost always faster than doing it the other way around. It naturally returns the shortest or longest parent domain satisfying a predicate, whereas the possibly long list compared with would need to be sorted by length first.
* make http-bind restartable (thanks to Andreas Köhler)(EJAB-1318)Christophe Romain2010-10-131-2/+8
|
* add find_s2s_bridge hookEvgeniy Khramtsov2010-10-111-2/+37
|
* use one_queue IQ discipline by defaultEvgeniy Khramtsov2010-10-051-1/+1
|
* fixes typo in stop_connection/1Evgeniy Khramtsov2010-09-281-1/+1
|
* fixes default value for cache_life_timeEvgeniy Khramtsov2010-09-211-1/+1
|
* Add missing needdb check in mod_privacy, to enable blocking by group and ↵Andreas Köhler2010-09-172-2/+4
| | | | subscription again.
* Discard unmatched INFO messages in ejabberd services.Andreas Köhler2010-09-171-0/+3
| | | | | This patch will stop services terminating with function clause messages, but doesn't affect the message queue at all.
* Support timezone West of UTC (thanks to Edwin Fine)(EJAB-1301)Badlop2010-09-131-1/+7
|
* cache lifetime should be converted in microsecondsEvgeniy Khramtsov2010-09-081-2/+2
|
* Implemented dirty (non-atomic) functions; added copyright noticeEvgeniy Khramtsov2010-08-312-38/+140
|
* Add IPv6 support to mod_irc (thanks to Matthias Schiffer)(EJAB-1298)Badlop2010-08-301-2/+10
|
* implemented backend-independed key-value cacheing table; applied to ↵Evgeniy Khramtsov2010-08-304-14/+569
| | | | mod_caps.erl first
* Bugfix http-poll for correctly parsing binary (thanks to Peter Lemenkov)Badlop2010-08-191-1/+7
|
* fixes ampersand escaping (EJAB-1258)Evgeniy Khramtsov2010-08-191-2/+2
|
* fixes typo for table copyEvgeniy Khramtsov2010-08-101-1/+1
|
* When user joins non-anonymous room, warn also in presence stanza (EJAB-310)Badlop2010-08-071-1/+9
|
* Update the 'configure' scriptBadlop2010-08-071-0/+11
|
* Make MD2 autodetected (EJAB-1285)Evgeniy Khramtsov2010-08-076-21/+86
|
* Make xml.c correctly compiles on R14A (EJAB-1288)Evgeniy Khramtsov2010-08-072-16/+45
|
* Go back to the 2.1.x branch nameBadlop2010-08-052-10/+10
|
* Fix detection of Erlang R11 and older (thanks to Mathias Ertl)(EJAB-1287)Badlop2010-08-052-2/+2
|
* Loading ASN.1 driver explicitly to avoid races in LDAP (EJAB-1284)Evgeniy Khramtsov2010-08-041-0/+2
|
* Update ejabberd version number to 2.1.5v2.1.5Badlop2010-08-022-10/+10
|
* enforce disco features results (thanks to Karim)(EJAB-1033, EJAB-1228, ↵Christophe Romain2010-08-023-373/+495
| | | | EJAB-1238)
* Support parallel extauth script (thanks to Jesse Thompson)(EJAB-1280)Badlop2010-07-301-6/+31
|
* Don't say v1.2, because that number is never increased and is confusingBadlop2010-07-281-3/+1
|
* Return Registered element when account exists (thanks to PioneerMike)Badlop2010-07-281-2/+15
|
* Fix typo (thanks to Evgeniy Khramtsov)Badlop2010-07-231-1/+1
|
* When logging s2s out connection attempt or success, log if TLS is usedBadlop2010-07-231-6/+7
|
* The command Update now returns meaningful message and exit-status (EJAB-1237)Badlop2010-07-221-2/+5
|
* Use driver allocators in iconv_erl.c for reflecting memory in ↵Evgeniy Khramtsov2010-07-201-11/+11
| | | | erlang:memory(system)
* Use driver allocators in ejabberd_zlib_drv.c for reflecting memory in ↵Evgeniy Khramtsov2010-07-201-8/+17
| | | | erlang:memory(system)
* correct handling of SQL boolean types (EJAB-1275)Evgeniy Khramtsov2010-07-142-5/+12
|
* Use driver allocators in expat for reflecting memory in erlang:memory(system)Evgeniy Khramtsov2010-07-141-1/+3
|
* Fix my flock change from last fridayBadlop2010-07-121-1/+1
|
* Remove ejabberd_debug because p1_prof provides similar and better featuresBadlop2010-07-121-97/+0
|
* Only compile and install p1_prof when: make debugtools=trueBadlop2010-07-121-3/+2
|
* Recompile the 'configure' scriptBadlop2010-07-121-8/+9
|
* When using OTP R14, use public_key library instead of old ssl (EJAB-953)Badlop2010-07-127-11/+31
|
* Some systems delete the lock dir; in such case don't use flock at allBadlop2010-07-091-1/+1
|
* Added functions to collect statistics about queues, memory, reductions etc. ↵Evgeniy Khramtsov2010-07-101-4/+145
| | | | Several cleanups
* Added new ejabberd profilerEvgeniy Khramtsov2010-07-052-0/+197
|
* Fix print of command result that contains ~ (thanks to Tsukasa Hamano)Badlop2010-07-031-2/+1
|
* Show some more room options in the log fileBadlop2010-07-021-2/+11
|