Men & Mice Men & Mice Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
OpenDNSSEC and Syslog under MacOS X  XML
Forum Index -> Men & Mice Enterprise Suite
Author Message
Carsten Strotmann
Men & Mice Staff
[Avatar]

Joined: 26/07/2007 13:08:39
Messages: 159
Location: Germany
Offline

The OpenDNSSEC integration scripts send some debug messages with level "info" to the syslog system. The MacOS X syslog does not write these messages to a file (unlike Ubuntu Linux).

In order to see the Syslog messages, add the following line to your /etc/syslog.conf

Code:
 *.*                                                     /var/log/messages
 


then restart the Syslog service:

Code:
 sudo killall syslogd
 


Now the new file /var/log/messages can be monited with the "Console" Application. If you filter on "ods", you will see all OpenDNSSEC related messages.



The script below can be used to test the syslog system:

Code:
 #!/usr/bin/ruby
 # (c) 2009-2010 by Men & Mice
 # 2010.07.15 Carsten Strotmann
 # OpenDNSSEC Syslog Tester
 
 require 'syslog'
 
 Syslog.open('ods-test')
 
 Syslog.debug("Syslog debug message test")
 Syslog.info("Syslog info message test")
 Syslog.warning("Syslog warning message test")
 Syslog.err("Syslog error message test")
 Syslog.alert("Syslog alert message test")
 Syslog.emerg("Syslog emergency message test")
 Syslog.crit("Syslog critical message test")
 
 Syslog.close
 





[Thumb - Screen shot 2010-07-15 at 1.26.13 PM.png]
 Filename Screen shot 2010-07-15 at 1.26.13 PM.png [Disk] Download
 Description
 Filesize 141 Kbytes
 Downloaded:  47 time(s)

[Thumb - Screen shot 2010-07-15 at 1.25.07 PM.png]
 Filename Screen shot 2010-07-15 at 1.25.07 PM.png [Disk] Download
 Description
 Filesize 98 Kbytes
 Downloaded:  41 time(s)


----
Men & Mice Support Team
support@menandmice.com
 
Forum Index -> Men & Mice Enterprise Suite
Go to:   
Powered by JForum 2.1.7 © JForum Team