Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 49 lines (36 sloc) 1.194 kb
ed8acc1 Mel Gray Cleaning up readme
melito authored
1 em-syslog
2 #########
3 Simple syslog integration into EventMachine at the class level.
4
5 Still needs work and testing.
6
7 To install:
8
9 git clone git://github.com/melito/em-syslog.git
10
e321cbc Mel Gray Gonna try pushing again to try and kick the Github gem builder into gear
melito authored
11 -or-
12
13 sudo gem install melito-em-syslog -s http://gems.github.com
14
ed8acc1 Mel Gray Cleaning up readme
melito authored
15 SYNOPSIS:
16
9f7c0de Mel Gray Bump.
melito authored
17 require 'em/syslog'
18
ed8acc1 Mel Gray Cleaning up readme
melito authored
19 # Setup syslog
20 EM.syslog_setup('centralserver.com', 514)
21
22 # Send commands
23 EM.emergency('system is unusable')
24 EM.alert('action must be taken immediately')
25 EM.critical('critical conditions')
26 EM.error('error conditions')
27 EM.warning('warning conditions')
28 EM.notice('normal but significant conditions')
29 EM.informational('informational messages')
30 EM.info('informational messages (short name for the previous)')
31 EM.debug('debug-level messages')
32
a461d0e Mel Gray Dusting everything off a bit. Still not 100% happy with this, but it wo...
melito authored
33 BUGS:
34 kqueue doesn't seem to work. (Haven't tested epoll)
35
36 TODO:
37 Benchmark
ed8acc1 Mel Gray Cleaning up readme
melito authored
38 Take some of the server examples and insert.
a461d0e Mel Gray Dusting everything off a bit. Still not 100% happy with this, but it wo...
melito authored
39 Make sure blocking is minimal/non-existant
40 Add support for syslog-ng
41 Refactor
42 Add support for TCP (syslog-ng)
43 Add support for TLS (syslog-ng)
44 Clean up API
b7ee8cb Mel Gray Given the ole gem spec a shot.
melito authored
45 Just improve everything.
6841c2d Mel Gray Fixing a small bug in a pretty hackish way. Will clean up a bit more la...
melito authored
46
47 FIXES:
48 Was creating a new datagram socket everytime a packet was sent out. Only use one now.
Something went wrong with that request. Please try again.