Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Linux raspberrypi 4.1.7-v7+ #817 SMP PREEMPT Sat Sep 19 15:32:00 BST 201
- 5 armv7l
- The programs included with the Debian GNU/Linux system are free software
- ;
- the exact distribution terms for each program are described in the
- individual files in /usr/share/doc/*/copyright.
- Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
- permitted by applicable law.
- Last login: Wed Dec 2 09:52:56 2015 from 37.160.33.81
- pi@raspberrypi:~$ sudo nano /opt/ejabberd-15.07/conf/ejabberd.yml
- GNU nano 2.2.6 File: /opt/ejabberd-15.07/conf/ejabberd.yml
- ## 1: Critical
- ## 2: Error
- ## 3: Warning
- ## 4: Info
- ## 5: Debug
- ##
- loglevel: 5
- ##
- ## rotation: Describe how to rotate logs. Either size and/or date can t$
- ## log rotation. Setting count to N keeps N rotated logs. Setting count$
- ## does not disable rotation, it instead rotates the file and keeps no $
- ## versions around. Setting size to X rotate log when it reaches X byte$
- ## To disable rotation set the size to 0 and the date to ""
- ## Date syntax is taken from the syntax newsyslog uses in newsyslog.con$
- ## Some examples:
- ## $D0 rotate every night at midnight
- ## $D23 rotate every day at 23:00 hr
- ^G Get Help ^O WriteOut ^R Read File^Y Prev Page^K Cut Text ^C Cur Pos
- ^X Exit ^J Justify ^W Where Is ^V Next Page^U UnCut Tex^T To Spell
- GNU nano 2.2.6 File: /opt/ejabberd-15.07/conf/ejabberd.yml
- ## 1: Critical
- ## 2: Error
- ## 3: Warning
- ## 4: Info
- ## 5: Debug
- ##
- loglevel: 5
- ##
- ## rotation: Describe how to rotate logs. Either size and/or date can t$
- ## log rotation. Setting count to N keeps N rotated logs. Setting count$
- ## does not disable rotation, it instead rotates the file and keeps no $
- ## versions around. Setting size to X rotate log when it reaches X byte$
- ## To disable rotation set the size to 0 and the date to ""
- ## Date syntax is taken from the syntax newsyslog uses in newsyslog.con$
- ## Some examples:
- ## $D0 rotate every night at midnight
- ## $D23 rotate every day at 23:00 hr
- ^G Get Help ^O WriteOut ^R Read File^Y Prev Page^K Cut Text ^C Cur Pos
- ^X Exit ^J Justify ^W Where Is ^V Next Page^U UnCut Tex^T To Spell
- GNU nano 2.2.6 File: /opt/ejabberd-15.07/conf/ejabberd.yml
- ## 1: Critical
- ## 2: Error
- ## 3: Warning
- ## 4: Info
- ## 5: Debug
- ##
- loglevel: 5
- ##
- ## rotation: Describe how to rotate logs. Either size and/or date can t$
- ## log rotation. Setting count to N keeps N rotated logs. Setting count$
- ## does not disable rotation, it instead rotates the file and keeps no $
- ## versions around. Setting size to X rotate log when it reaches X byte$
- ## To disable rotation set the size to 0 and the date to ""
- ## Date syntax is taken from the syntax newsyslog uses in newsyslog.con$
- ## Some examples:
- ## $D0 rotate every night at midnight
- ## $D23 rotate every day at 23:00 hr
- ## $W0D23 rotate every week on Sunday at 23:00 hr
- ## $W5D16 rotate every week on Friday at 16:00 hr
- ## $M1D0 rotate on the first day of every month at midnight
- ## $M5D6 rotate on every 5th day of the month at 6:00 hr
- ##
- log_rotate_size: 10485760
- log_rotate_date: ""
- log_rotate_count: 1
- ##
- ## overload protection: If you want to limit the number of messages per$
- ## allowed from error_logger, which is a good idea if you want to avoid$
- ## of messages when system is overloaded, you can set a limit.
- ## 100 is ejabberd's default.
- log_rate_limit: 100
- ##
- ## watchdog_admins: Only useful for developers: if an ejabberd process
- ## consumes a lot of memory, send live notifications to these XMPP
- ## accounts.
- ##
- ^G Get Help ^O WriteOut ^R Read File^Y Prev Page^K Cut Text ^C Cur Pos
- ^X Exit ^J Justify ^W Where Is ^V Next Page^U UnCut Tex^T To Spell
- GNU nano 2.2.6 File: /opt/ejabberd-15.07/conf/ejabberd.yml
- ## 1: Critical
- ## 2: Error
- ## 3: Warning
- ## 4: Info
- ## 5: Debug
- ##
- loglevel: 5
- ##
- ## rotation: Describe how to rotate logs. Either size and/or date can t$
- ## log rotation. Setting count to N keeps N rotated logs. Setting count$
- ## does not disable rotation, it instead rotates the file and keeps no $
- ## versions around. Setting size to X rotate log when it reaches X byte$
- ## To disable rotation set the size to 0 and the date to ""
- ## Date syntax is taken from the syntax newsyslog uses in newsyslog.con$
- ## Some examples:
- ## $D0 rotate every night at midnight
- ## $D23 rotate every day at 23:00 hr
- ## $W0D23 rotate every week on Sunday at 23:00 hr
- ## $W5D16 rotate every week on Friday at 16:00 hr
- ## $M1D0 rotate on the first day of every month at midnight
- GNU nano 2.2.6 File: /opt/ejabberd-15.07/conf/ejabberd.yml
- ## $D0 rotate every night at midnight
- ## $D23 rotate every day at 23:00 hr
- ## $W0D23 rotate every week on Sunday at 23:00 hr
- ## $W5D16 rotate every week on Friday at 16:00 hr
- ## $M1D0 rotate on the first day of every month at midnight
- ## $M5D6 rotate on every 5th day of the month at 6:00 hr
- ##
- log_rotate_size: 10485760
- log_rotate_date: ""
- log_rotate_count: 1
- ##
- ## overload protection: If you want to limit the number of messages per$
- ## allowed from error_logger, which is a good idea if you want to avoid$
- ## of messages when system is overloaded, you can set a limit.
- ## 100 is ejabberd's default.
- log_rate_limit: 100
- ^G Get Help ^O WriteOut ^R Read File^Y Prev Page^K Cut Text ^C Cur Pos
- ^X Exit ^J Justify ^W Where Is ^V Next Page^U UnCut Tex^T To Spell
- GNU nano 2.2.6 File: /opt/ejabberd-15.07/conf/ejabberd.yml
- ## $D0 rotate every night at midnight
- ## $D23 rotate every day at 23:00 hr
- ## $W0D23 rotate every week on Sunday at 23:00 hr
- ## $W5D16 rotate every week on Friday at 16:00 hr
- ## $M1D0 rotate on the first day of every month at midnight
- ## $M5D6 rotate on every 5th day of the month at 6:00 hr
- ##
- log_rotate_size: 10485760
- log_rotate_date: ""
- log_rotate_count: 1
- ##
- ## overload protection: If you want to limit the number of messages per$
- ## allowed from error_logger, which is a good idea if you want to avoid$
- ## of messages when system is overloaded, you can set a limit.
- ## 100 is ejabberd's default.
- log_rate_limit: 100
- ^G Get Help ^O WriteOut ^R Read File^Y Prev Page^K Cut Text ^C Cur Pos
- ^X Exit ^J Justify ^W Where Is ^V Next Page^U UnCut Tex^T To Spell
- ##GNU nano 2.2.6 File: /opt/ejabberd-15.07/conf/ejabberd.yml
- ## watchdog_admins: Only useful for developers: if an ejabberd proces
- ## consumes a lot of memory, send live notifications to these XMPP
- ## accounts.rotate every day at 23:00 hr
- ## $W0D23 rotate every week on Sunday at 23:00 hr
- ## watchdog_admins:very week on Friday at 16:00 hr
- ## - "thorsten@emevth.no-ip.biz"y of every month at midnight
- ## $M5D6 rotate on every 5th day of the month at 6:00 hr
- ###. ===============
- ###' NODE PARAMETERS5760
- log_rotate_date: ""
- ##g_rotate_count: 1
- ## net_ticktime: Specifies net_kernel tick time in seconds. This option$
- ##
- ## overload protection: If you want to limit the number of messages per$
- ## allowed from error_logger, which is a good idea if you want to avoid$
- ## of messages when system is overloaded, you can set a limit.
- ## 100 is ejabberd's default.
- log_rate_limit: 100
- ^G Get Help ^O WriteOut ^R Read File^Y Prev Page^K Cut Text ^C Cur Pos
- ^X Exit ^J Justify ^W Where Is ^V Next Page^U UnCut Tex^T To Spell$
- GNU nano 2.2.6 File: /opt/ejabberd-15.07/conf/ejabberd.yml
- ## $D0 rotate every night at midnight
- ## $D23 rotate every day at 23:00 hr
- ## $W0D23 rotate every week on Sunday at 23:00 hr
- ## $W5D16 rotate every week on Friday at 16:00 hr
- ## $M1D0 rotate on the first day of every month at midnight
- ## $M5D6 rotate on every 5th day of the month at 6:00 hr
- ##
- log_rotate_size: 10485760
- log_rotate_date: ""
- log_rotate_count: 1
- ##
- ## overload protection: If you want to limit the number of messages per$
- ## allowed from error_logger, which is a good idea if you want to avoid$
- ## of messages when system is overloaded, you can set a limit.
- ## 100 is ejabberd's default.
- log_rate_limit: 100
- ##
- ## watchdog_admins: Only useful for developers: if an ejabberd process
- ## consumes a lot of memory, send live notifications to these XMPP
- GNU nano 2.2.6 File: /opt/ejabberd-15.07/conf/ejabberd.yml
- ## $D0 rotate every night at midnight
- ## $D23 rotate every day at 23:00 hr
- ## $W0D23 rotate every week on Sunday at 23:00 hr
- ## $W5D16 rotate every week on Friday at 16:00 hr
- ## $M1D0 rotate on the first day of every month at midnight
- ## $M5D6 rotate on every 5th day of the month at 6:00 hr
- ##
- log_rotate_size: 10485760
- log_rotate_date: ""
- log_rotate_count: 10
- ##
- ## overload protection: If you want to limit the number of messages per$
- ## allowed from error_logger, which is a good idea if you want to avoid$
- ## of messages when system is overloaded, you can set a limit.
- ## 100 is ejabberd's default.
- log_rate_limit: 100
- [ Wrote 835 lines ]
- pi@raspberrypi:~$ sudo service ejabberd restart
- Stopping ejabberd...
- done.
- Starting ejabberd...
- done.
- pi@raspberrypi:~$ Linux raspberrypi 4.1.7-v7+ #817 SMP PREEMPT Sat Sep 1
- 9 15:32:00 BST 2015 armv7l
- The programs included with the Debian GNU/Linux system are free software
- ;
- the exact distribution terms for each program are described in the
- individual files in /usr/share/doc/*/copyright.
- Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
- permitted by applicable law.
- pi@raspberrypi:~$ cd /opt/ejabberd-15.07/logs/60.140.207
- pi@raspberrypi:/opt/ejabberd-15.07/logs$ grep -C10 '2015-12-02 08:53:14.
- 371' ejabberd.log*
- ejabberd.log.0- to {jid,<<"thorsten">>,<<"emevth.no-ip.biz">>,<<"mobile"
- >>,<<"thorsten">>,<<"emevth.no-ip.biz">>,<<"mobile">>}
- ejabberd.log.0- packet {xmlel,<<"message">>,[{<<"from">>,<<"holg"...>>},
- {<<"to">>,<<...>>},{<<...>>,...},{...}],[{xmlel,<<...>>,...}]}
- ejabberd.log.0-2015-12-02 11:38:18.505 [debug] <0.1295.0>@ejabberd_sm:do
- _route:565 sending to process <0.1098.0>
- ejabberd.log.0-2015-12-02 11:38:18.506 [debug] <0.1098.0>@mod_mam_mnesia
- :receive_stanza:290 Won't archive undesired incoming stanza for thorsten
- @emevth.no-ip.biz/mobile
- ejabberd.log.0-2015-12-02 11:38:18.506 [debug] <0.1098.0>@mod_client_sta
- te:filter_chat_states:106 Got standalone chat state notification
- ejabberd.log.0-2015-12-02 11:38:18.506 [debug] <0.1098.0>@ejabberd_c2s:c
- si_filter_stanza:3032 Going to drop stanza for inactive client <<"thorst
- en@emevth.no-ip.biz/mobile">>
- ejabberd.log.0-2015-12-02 11:38:19.166 [debug] <0.1168.0>@ejabberd_recei
- ver:process_data:349 Received XML on stream = <<"<a h=\"544\" xmlns=\"ur
- n:xmpp:sm:3\"/>">>
- ejabberd.log.0-2015-12-02 11:38:19.167 [debug] <0.1168.0>@shaper:update:
- 120 State: {maxrate,1000,216.73137913749935,1449052698202260}, Size=34
- ejabberd.log.0-M=19.06611241976291, I=964.39
- ejabberd.log.0-2015-12-02 11:38:19.167 [debug] <0.1169.0>@ejabberd_c2s:c
- heck_h_attribute:2810 suji@emevth.no-ip.biz/mobile acknowledged 544 of 5
- 44 stanzas
- ejabberd.log.0:2015-12-02 11:38:20.042 [debug] <0.1294.0>@ejabberd_recei
- ver:process_data:349 Received XML on stream = <<"<message from='holger@j
- abber.fu-berlin.de/ZEDAT' to='thorsten@emevth.no-ip.biz/mobile' type='ch
- at' id='1902410180'><body>Mich interessiert noch ein Log-Auszug von vorh
- in:\n\ngrep -C10 '2015-12-02 08:53:14.371' ejabberd.log*</body
- ><request xmlns='urn:xmpp:receipts'/><active xmlns='http://jabber.org/pr
- otocol/chatstates'/></message>">>
- ejabberd.log.0-2015-12-02 11:38:20.045 [debug] <0.1295.0>@ejabberd_route
- r:do_route:323 route
- ejabberd.log.0- from {jid,<<"holger">>,<<"jabber.fu-berlin.de">>,<<"ZEDA
- T">>,<<"holger">>,<<"jabber.fu-berlin.de">>,<<"ZEDAT">>}
- ejabberd.log.0- to {jid,<<"thorsten">>,<<"emevth.no-ip.biz">>,<<"mobile"
- >>,<<"thorsten">>,<<"emevth.no-ip.biz">>,<<"mobile">>}
- ejabberd.log.0: packet {xmlel,<<"message">>,[{<<"from">>,<<"holger@jabbe
- r.fu-berlin.de/ZEDAT">>},{<<"to">>,<<"thorsten@emevth.no-ip.biz/mobile">
- >},{<<"type">>,<<"chat">>},{<<"id">>,<<"1902410180">>}],[{xmlel,<<"body"
- >>,[],[{xmlcdata,<<"Mich interessiert noch ein Log-Auszug von vorhin:\n\
- ngrep -C10 '2015-12-02 08:53:14.371' ejabberd.log*">>}]},{xmlel,<<"reque
- st">>,[{<<"xmlns">>,<<"urn:xmpp:receipts">>}],[]},{xmlel,<<"active">>,[{
- <<"xmlns">>,<<"http://jabber.org/protocol/chatstates">>}],[]}]}
- ejabberd.log.0-2015-12-02 11:38:20.046 [debug] <0.1295.0>@ejabberd_local
- :do_route:296 local route
- ejabberd.log.0- from {jid,<<"holger">>,<<"jabber.fu-berlin.de">>,<<"ZEDA
- T">>,<<"holger">>,<<"jabber.fu-berlin.de">>,<<"ZEDAT">>}
- ejabberd.log.0- to {jid,<<"thorsten">>,<<"emevth.no-ip.biz">>,<<"mobile"
- >>,<<"thorsten">>,<<"emevth.no-ip.biz">>,<<"mobile">>}
- ejabberd.log.0- packet {xmlel,<<"message">>,[{<<"from">>,<<"holg"...>>},
- {<<"to">>,<<...>>},{<<...>>,...},{...}],[{xmlel,<<...>>,...},{xmlel,...}
- ,{...}]}
- ejabberd.log.0-2015-12-02 11:38:20.048 [debug] <0.1295.0>@ejabberd_sm:do
- _route:447 session manager
- ejabberd.log.0- from {jid,<<"holger">>,<<"jabber.fu-berlin.de">>,<<"ZEDA
- T">>,<<"holger">>,<<"jabber.fu-berlin.de">>,<<"ZEDAT">>}
- ejabberd.log.0- to {jid,<<"thorsten">>,<<"emevth.no-ip.biz">>,<<"mobile"
- >>,<<"thorsten">>,<<"emevth.no-ip.biz">>,<<"mobile">>}
- ejabberd.log.0- packet {xmlel,<<"message">>,[{<<"from">>,<<"holg"...>>},
- {<<"to">>,<<...>>},{<<...>>,...},{...}],[{xmlel,<<...>>,...},{xmlel,...}
- ,{...}]}
- ejabberd.log.0-2015-12-02 11:38:20.048 [debug] <0.1295.0>@ejabberd_sm:do
- _route:565 sending to process <0.1098.0>
- ejabberd.log.0-2015-12-02 11:38:20.049 [debug] <0.1098.0>@mod_client_sta
- te:filter_chat_states:109 Got message with chat state notification
- ejabberd.log.0-2015-12-02 11:38:20.050 [debug] <0.1098.0>@ejabberd_c2s:c
- si_filter_stanza:3032 Going to send stanza for inactive client <<"thorst
- en@emevth.no-ip.biz/mobile">>
- ejabberd.log.0:2015-12-02 11:38:20.051 [debug] <0.1098.0>@ejabberd_c2s:s
- end_text:1892 Send XML on stream = <<"<message from='holger@jabber.fu-be
- rlin.de/ZEDAT' to='thorsten@emevth.no-ip.biz/mobile' type='chat' id='190
- 2410180'><body>Mich interessiert noch ein Log-Auszug von vorhin:\n\ngrep
- -C10 '2015-12-02 08:53:14.371' ejabberd.log*</body><request x
- mlns='urn:xmpp:receipts'/><active xmlns='http://jabber.org/protocol/chat
- states'/></message>">>
- ejabberd.log.0-2015-12-02 11:38:20.052 [debug] <0.1098.0>@ejabberd_c2s:s
- end_text:1892 Send XML on stream = <<"<r xmlns='urn:xmpp:sm:3'/>">>
- ejabberd.log.0-2015-12-02 11:38:20.054 [debug] <0.468.0>@mod_mam_mnesia:
- maybe_store_message:459 Storing MAM message for thorsten@emevth.no-ip.bi
- z
- ejabberd.log.0-2015-12-02 11:38:20.563 [debug] <0.488.0>@ejabberd_router
- :do_route:323 route
- ejabberd.log.0- from {jid,<<>>,<<"emevth.no-ip.biz">>,<<>>,<<>>,<<"emevt
- h.no-ip.biz">>,<<>>}
- ejabberd.log.0- to {jid,<<"emilie">>,<<"emevth.no-ip.biz">>,<<"mobile">>
- ,<<"emilie">>,<<"emevth.no-ip.biz">>,<<"mobile">>}
- ejabberd.log.0- packet {xmlel,<<"iq">>,[{<<"id">>,<<"1202849904">>},{<<"
- type">>,<<"get">>}],[{xmlel,<<"ping">>,[{<<"xmlns">>,<<"urn:xmpp:ping">>
- }],[]}]}
- ejabberd.log.0-2015-12-02 11:38:20.565 [debug] <0.488.0>@ejabberd_local:
- do_route:296 local route
- ejabberd.log.0- from {jid,<<>>,<<"emevth.no-ip.biz">>,<<>>,<<>>,<<"emevt
- h.no-ip.biz">>,<<>>}
- ejabberd.log.0- to {jid,<<"emilie">>,<<"emevth.no-ip.biz">>,<<"mobile">>
- ,<<"emilie">>,<<"emevth.no-ip.biz">>,<<"mobile">>}
- ejabberd.log.0- packet {xmlel,<<"iq">>,[{<<"id">>,<<"1202"...>>},{<<"typ
- e">>,<<...>>}],[{xmlel,<<...>>,...}]}
- pi@raspberrypi:/opt/ejabberd-15.07/logs$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement