Package: ejabberd-mod-logxml
Version: 0.2016.03.02~dfsg0-1
Severity: important
Dear Maintainer,
* What led up to the situation?
Unknown; recent updates to ejabberd and/or erlang packages and/or
ejabberd-mod-logxml led to it no logner working; ejabberd config files were not
changed.
Prior to that/those update(s) ejabberd and ejabberd-mod-logxml worked well
together; now nothing gets logged in the log-xml output, and the followig
error/traceback
appears in the /var/log/ejabberd/ejabberd.log file during ejabberd
[re]start:
2016-03-24 23:42:58.550 [error] emulator Error in process <0.448.0> on
node ejabberd@r3 with exit value:
{undef,[{jlib,timestamp_to_iso,[{{2016,3,24},{23,42,58}}],[]},{mod_logxml,get_now_iso,1,[{file,"src/mod_logxml.erl"},{line,266}]},{mod_logxml,open_file,3,[{file,"src/mod_logxml.erl"},{line,209}]},{mod_logxml,init,7,[{file,"src/mod_logxml.erl"},{line,66}]}]}
* What exactly did you do (or not do) that was effective (or ineffective)?
Tried to make sense of the error/traceback, but I know too little about
erlang and ejabberd error reporting.
* What was the outcome of this action?
This bug report.
Here's how mod-logxml is configured in /etc/ejabberd/ejabberd.yml, in case
it helps:
mod_logxml:
stanza:
- iq
- other
direction:
- external
orientation:
- send
- recv
logdir: "/var/log/ejabberd/"
timezone: local
show_ip: false
rotate_days: 1
rotate_megs: 100
rotate_kpackets: no
check_rotate_kpackets: 1
Please let me know what else you'd like me to tell you, or try to work
around the problem. Thanks!
-- System Information:
Debian Release: 7.9
APT prefers oldstable
APT policy: (990, 'oldstable'), (500, 'stable-updates'), (500,
'proposed-updates'), (500, 'oldstable-updates'), (500,
'oldstable-proposed-updates'), (500, 'stable'), (400, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages ejabberd-mod-logxml depends on:
ii ejabberd 16.02-2
ii erlang-base-hipe [erlang-abi-17.0] 1:18.3-dfsg-1
ejabberd-mod-logxml recommends no packages.
ejabberd-mod-logxml suggests no packages.
-- no debconf information