Skip to Content
Programming Jabber
book

Programming Jabber

by DJ Adams
January 2002
Beginner
480 pages
13h 15m
English
O'Reilly Media, Inc.
Content preview from Programming Jabber

Logging Definition: rlogger

Logging definition elogger is a general catchall component that serves to direct all unhandled log records to a log file, error.log. The logging definition rlogger, on the other hand, has been defined specifically to capture and store (to a file—record.log) record type log records.

Components such as c2s, s2s, and sessions write record type log records, examples of which can be seen in Example 4-14. The “login ok” messages are from the c2s component, the “dialback” messages are from the s2s component, and the “session end” message is from the sessions component.

Example 4-14. Typical record type log records

20010811T14:27:19 dj@gnu.mine.nu login ok 213.122.45.3 home
20010811T14:28:25 piers@gnu.mine.nu login ok 213.122.128.174 yeha
20010811T14:29:20 conference.jabber.org out dialback 3 208.245.212.100 gnu.mine.nu
20010811T14:29:20 update.jabber.org out dialback 3 208.245.212.100 gnu.mine.nu
20010811T14:29:20 gnu.mine.nu in dialback 16 208.245.212.100 conference.jabber.org
20010811T14:29:20 jabber.org out dialback 55 208.245.212.100 gnu.mine.nu
20010811T14:35:25 dj@gnu.mine.nu session end 486 30 57 home
20010811T14:36:39 dj@gnu.mine.nu login ok 213.122.45.3 home
20010811T14:56:50 gnu.mine.nu in dialback 2 216.109.164.2 obelisk.net

The configuration XML for rlogger is shown in Example 4-15 and is represented in diagram form in Figure 4-11.

Diagram view of rlogger
Figure 4-11. Diagram ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Professional XMPP Programming with JavaScript® and jQuery

Professional XMPP Programming with JavaScript® and jQuery

Jack Moffitt
Hacking Web Performance

Hacking Web Performance

Maximiliano Firtman

Publisher Resources

ISBN: 0596002025Errata Page