aboutsummaryrefslogtreecommitdiff
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-10-15Add support for changing the loglevels for given modules (EJAB-225)Andreas Köhler1-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.
2010-10-15Use warning_msg event type for warning log level.Andreas Köhler1-1/+1
2010-10-15Add warning message and report handlers to ejabberd_logger_h.erl.Andreas Köhler1-0/+13
2010-10-15Improve ejabberd_logger code generationAndreas Köhler1-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.
2010-10-15Use records for encoding static loglevel information.Andreas Köhler1-12/+18
2010-10-14Speed up ejabberd_s2s:is_service/2, allow_host/2 (thanks to Andreas ↵Badlop1-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.
2010-10-13make http-bind restartable (thanks to Andreas Köhler)(EJAB-1318)Christophe Romain1-2/+8
2010-10-11add find_s2s_bridge hookEvgeniy Khramtsov1-2/+37
2010-10-05use one_queue IQ discipline by defaultEvgeniy Khramtsov1-1/+1
2010-09-28fixes typo in stop_connection/1Evgeniy Khramtsov1-1/+1
2010-09-21fixes default value for cache_life_timeEvgeniy Khramtsov1-1/+1
2010-09-17Add missing needdb check in mod_privacy, to enable blocking by group and ↵Andreas Köhler2-2/+4
subscription again.
2010-09-17Discard unmatched INFO messages in ejabberd services.Andreas Köhler1-0/+3
This patch will stop services terminating with function clause messages, but doesn't affect the message queue at all.
2010-09-13Support timezone West of UTC (thanks to Edwin Fine)(EJAB-1301)Badlop1-1/+7
2010-09-08cache lifetime should be converted in microsecondsEvgeniy Khramtsov1-2/+2
2010-08-31Implemented dirty (non-atomic) functions; added copyright noticeEvgeniy Khramtsov2-38/+140
2010-08-30Add IPv6 support to mod_irc (thanks to Matthias Schiffer)(EJAB-1298)Badlop1-2/+10
2010-08-30implemented backend-independed key-value cacheing table; applied to ↵Evgeniy Khramtsov4-14/+569
mod_caps.erl first
2010-08-19Bugfix http-poll for correctly parsing binary (thanks to Peter Lemenkov)Badlop1-1/+7
2010-08-19fixes ampersand escaping (EJAB-1258)Evgeniy Khramtsov1-2/+2
2010-08-10fixes typo for table copyEvgeniy Khramtsov1-1/+1
2010-08-07When user joins non-anonymous room, warn also in presence stanza (EJAB-310)Badlop1-1/+9
2010-08-07Update the 'configure' scriptBadlop1-0/+11
2010-08-07Make MD2 autodetected (EJAB-1285)Evgeniy Khramtsov6-21/+86
2010-08-07Make xml.c correctly compiles on R14A (EJAB-1288)Evgeniy Khramtsov2-16/+45
2010-08-05Go back to the 2.1.x branch nameBadlop2-10/+10
2010-08-05Fix detection of Erlang R11 and older (thanks to Mathias Ertl)(EJAB-1287)Badlop2-2/+2
2010-08-04Loading ASN.1 driver explicitly to avoid races in LDAP (EJAB-1284)Evgeniy Khramtsov1-0/+2
2010-08-02Update ejabberd version number to 2.1.5v2.1.5Badlop2-10/+10
2010-08-02enforce disco features results (thanks to Karim)(EJAB-1033, EJAB-1228, ↵Christophe Romain3-373/+495
EJAB-1238)
2010-07-30Support parallel extauth script (thanks to Jesse Thompson)(EJAB-1280)Badlop1-6/+31
2010-07-28Don't say v1.2, because that number is never increased and is confusingBadlop1-3/+1
2010-07-28Return Registered element when account exists (thanks to PioneerMike)Badlop1-2/+15
2010-07-23Fix typo (thanks to Evgeniy Khramtsov)Badlop1-1/+1
2010-07-23When logging s2s out connection attempt or success, log if TLS is usedBadlop1-6/+7
2010-07-22The command Update now returns meaningful message and exit-status (EJAB-1237)Badlop1-2/+5
2010-07-20Use driver allocators in iconv_erl.c for reflecting memory in ↵Evgeniy Khramtsov1-11/+11
erlang:memory(system)
2010-07-20Use driver allocators in ejabberd_zlib_drv.c for reflecting memory in ↵Evgeniy Khramtsov1-8/+17
erlang:memory(system)
2010-07-14correct handling of SQL boolean types (EJAB-1275)Evgeniy Khramtsov2-5/+12
2010-07-14Use driver allocators in expat for reflecting memory in erlang:memory(system)Evgeniy Khramtsov1-1/+3
2010-07-12Fix my flock change from last fridayBadlop1-1/+1
2010-07-12Remove ejabberd_debug because p1_prof provides similar and better featuresBadlop1-97/+0
2010-07-12Only compile and install p1_prof when: make debugtools=trueBadlop1-3/+2
2010-07-12Recompile the 'configure' scriptBadlop1-8/+9
2010-07-12When using OTP R14, use public_key library instead of old ssl (EJAB-953)Badlop7-11/+31
2010-07-09Some systems delete the lock dir; in such case don't use flock at allBadlop1-1/+1
2010-07-10Added functions to collect statistics about queues, memory, reductions etc. ↵Evgeniy Khramtsov1-4/+145
Several cleanups
2010-07-05Added new ejabberd profilerEvgeniy Khramtsov2-0/+197
2010-07-03Fix print of command result that contains ~ (thanks to Tsukasa Hamano)Badlop1-2/+1
2010-07-02Show some more room options in the log fileBadlop1-2/+11