Skip to Content.
Sympa Menu

perfsonar-dev - syslogging problem with SSHTELNET MP

Subject: perfsonar development work

List archive

syslogging problem with SSHTELNET MP


Chronological Thread 
  • From: Stijn Melis <>
  • To: "" <>
  • Subject: syslogging problem with SSHTELNET MP
  • Date: Fri, 22 Aug 2008 12:16:54 +0200

Hi all,

I am in the process of testing with Domenico to see if the syslogging works, but there seems to be a problem with it, because his syslog server is not receiving any messages.

I attached the log4j.syslog.properties and the service.properties file to this mail, because I have been looking at it, and I can't seem to see anything that's wrong in either file.

If anybody could have a look as well, and tell me if the files are correct or not, I'd be most grateful.

Thanks in advance,

Stijn

## $Id$
## project : perfSONAR
## author: romradz

# Group=Logger
# Description=location of the log directory
logDir=/home/installer/apache-tomcat-5.5.25/webapps/geant2-java-sshtelnet-mp-Echo/WEB-INF/classes/perfsonar/logs


######################################### ALL
#########################################

# Group=RootLogger
# Description=The maximum backup index for the root logger
log4j.appender.rootAppender.MaxBackupIndex=11
# Group=RootLogger
# Description=The file for the root logger
log4j.appender.rootAppender.File=/home/installer/apache-tomcat-5.5.25/webapps/geant2-java-sshtelnet-mp-Echo/WEB-INF/classes/perfsonar/logs/perfsonar.log
# Group=RootLogger
# Description=The class responsible for the layout of the root logger
log4j.appender.rootAppender.layout=org.apache.log4j.PatternLayout
# Group=RootLogger
# Description=The conversion pattern for the root logger
log4j.appender.rootAppender.layout.ConversionPattern=%d %5p - %m%n
# Group=RootLogger
# Description=Information specific to the perfsonar debugger (not sure of
this one at all really)
log4j.rootLogger=DEBUG, SYSLOG, rootAppender
# Group=RootLogger
# Description=The maximum file size for the root logger
log4j.appender.rootAppender.MaxFileSize=500KB
# Group=RootLogger
# Description=The class responsible for appending text in the root logger
log4j.appender.rootAppender=org.apache.log4j.RollingFileAppender

######################################### DEBUG
#########################################

# Group=DebugLogger
# Description=The maximum backup index for the debug logger
log4j.appender.debugAppender.MaxBackupIndex=11
# Group=DebugLogger
# Description=The file for the debug logger
log4j.appender.debugAppender.File=/home/installer/apache-tomcat-5.5.25/webapps/geant2-java-sshtelnet-mp-Echo/WEB-INF/classes/perfsonar/logs/perfsonar_debug.log
# Group=DebugLogger
# Description=The class responsible for the layout of the debug logger
log4j.appender.debugAppender.layout=org.apache.log4j.PatternLayout
# Group=DebugLogger
# Description=The conversion pattern for the debug logger
log4j.appender.debugAppender.layout.ConversionPattern=%d %5p - %m%n
# Group=DebugLogger
# Description=Information specific to the perfsonar debugger (not sure of
this one at all really)
log4j.logger.sonar-debug=DEBUG, SYSLOG, debugAppender
# Group=DebugLogger
# Description=The maximum file size for the debug logger
log4j.appender.debugAppender.MaxFileSize=500KB
# Group=DebugLogger
# Description=The class responsible for appending text in the debug logger
log4j.appender.debugAppender=org.apache.log4j.RollingFileAppender

######################################### INFO
#########################################

# Group=InfoLogger
# Description=The maximum backup index for the info logger
log4j.appender.infoAppender.MaxBackupIndex=11
# Group=InfoLogger
# Description=The file for the info logger
log4j.appender.infoAppender.File=/home/installer/apache-tomcat-5.5.25/webapps/geant2-java-sshtelnet-mp-Echo/WEB-INF/classes/perfsonar/logs/perfsonar_info.log
# Group=InfoLogger
# Description=The class responsible for the layout of the info logger
log4j.appender.infoAppender.layout=org.apache.log4j.PatternLayout
# Group=InfoLogger
# Description=The conversion pattern for the info logger
log4j.appender.infoAppender.layout.ConversionPattern=%d %5p - %m%n
# Group=InfoLogger
# Description=Information specific to the perfsonar debugger (not sure of
this one at all really)
log4j.logger.sonar-info=INFO, SYSLOG, infoAppender
# Group=InfoLogger
# Description=The maximum file size for the info logger
log4j.appender.infoAppender.MaxFileSize=500KB
# Group=InfoLogger
# Description=The class responsible for appending text in the info logger
log4j.appender.infoAppender=org.apache.log4j.RollingFileAppender

######################################### WARN
#########################################

# Group=WarnLogger
# Description=The maximum backup index for the warning logger
log4j.appender.warnAppender.MaxBackupIndex=11
# Group=WarnLogger
# Description=The file for the warning logger
log4j.appender.warnAppender.File=/home/installer/apache-tomcat-5.5.25/webapps/geant2-java-sshtelnet-mp-Echo/WEB-INF/classes/perfsonar/logs/perfsonar_warn.log
# Group=WarnLogger
# Description=The class responsible for the layout of the warning logger
log4j.appender.warnAppender.layout=org.apache.log4j.PatternLayout
# Group=WarnLogger
# Description=The conversion pattern for the warning logger
log4j.appender.warnAppender.layout.ConversionPattern=%d %5p - %m%n
# Group=WarnLogger
# Description=Information specific to the perfsonar debugger (not sure of
this one at all really)
log4j.logger.sonar-warn=WARN, SYSLOG, warnAppender
# Group=WarnLogger
# Description=The maximum file size for the warning logger
log4j.appender.warnAppender.MaxFileSize=500KB
# Group=WarnLogger
# Description=The class responsible for appending text in the warning logger
log4j.appender.warnAppender=org.apache.log4j.RollingFileAppender

######################################### ERROR
#########################################

# Group=ErrorLogger
# Description=The maximum backup index for the error logger
log4j.appender.errorAppender.MaxBackupIndex=11
# Group=ErrorLogger
# Description=The file for the error logger
log4j.appender.errorAppender.File=/home/installer/apache-tomcat-5.5.25/webapps/geant2-java-sshtelnet-mp-Echo/WEB-INF/classes/perfsonar/logs/perfsonar_error.log
# Group=ErrorLogger
# Description=The class responsible for the layout of the error logger
log4j.appender.errorAppender.layout=org.apache.log4j.PatternLayout
# Group=ErrorLogger
# Description=The conversion pattern for the error logger
log4j.appender.errorAppender.layout.ConversionPattern=%d %5p - %m%n
# Group=ErrorLogger
# Description=Information specific to the perfsonar debugger (not sure of
this one at all really)
log4j.logger.sonar-error=ERROR, SYSLOG, errorAppender
# Group=ErrorLogger
# Description=The maximum file size for the error logger
log4j.appender.errorAppender.MaxFileSize=500KB
# Group=ErrorLogger
# Description=The class responsible for appending text in the error logger
log4j.appender.errorAppender=org.apache.log4j.RollingFileAppender

######################################### FATAL
#########################################

# Group=FatalLogger
# Description=The maximum backup index for the fatal logger
log4j.appender.fatalAppender.MaxBackupIndex=11
# Group=FatalLogger
# Description=The file for the fatal logger
log4j.appender.fatalAppender.File=/home/installer/apache-tomcat-5.5.25/webapps/geant2-java-sshtelnet-mp-Echo/WEB-INF/classes/perfsonar/logs/perfsonar_fatal.log
# Group=FatalLogger
# Description=The class responsible for the layout of the fatal logger
log4j.appender.fatalAppender.layout=org.apache.log4j.PatternLayout
# Group=FatalLogger
# Description=The conversion pattern for the fatal logger
log4j.appender.fatalAppender.layout.ConversionPattern=%d %5p - %m%n
# Group=FatalLogger
# Description=Information specific to the perfsonar debugger (not sure of
this one at all really)
log4j.logger.sonar-fatal=FATAL, SYSLOG, fatalAppender
# Group=FatalLogger
# Description=The maximum file size for the fatal logger
log4j.appender.fatalAppender.MaxFileSize=500KB
# Group=FatalLogger
# Description=The class responsible for appending text in the fatal logger
log4j.appender.fatalAppender=org.apache.log4j.RollingFileAppender

######################################### SYSLOG
#########################################

# Group=Syslog logging
# Description=The class responsible for appending log messages to the syslog
file.
log4j.appender.SYSLOG=org.apache.log4j.net.SyslogAppender

# Group=Syslog logging
# Description=IP address of the host executing syslog-ng
log4j.appender.SYSLOG.syslogHost=62.40.123.164

# Group=Syslog logging
# Description=The class responsible for the logging layout.
log4j.appender.SYSLOG.layout=org.apache.log4j.PatternLayout

# Group=Syslog logging
# Description=The log message format. It can includes @Location after
PERFSONAR-AS.
log4j.appender.SYSLOG.layout.ConversionPattern=\%PERFSONAR-SSH_TELNET-MP.%p\%
%m%n
#Modified at Tue Jul 29 14:58:07 BST 2008

# Group=LS
# Description=Type of service
service.r.service_type=mp

# Group=eXist
# Description=The location of the metadata configuration file which is to be
uploaded in the eXist
component.mp.xmldb.metadata_file_path=/home/installer/apache-tomcat-5.5.25/webapps/geant2-java-sshtelnet-mp-Echo/WEB-INF/classes/perfsonar/conf/sshtelnetmetadata.xml

# Group=LS
# Description=Description for the service
service.r.service_description=perfSONAR service

# Group=eXist
# Description=The password for the admin account for eXist
component.mp.xmldb.db_adminpassword=admin

# Group=eXist
# Description=The username for eXist
component.mp.xmldb.db_username=sshtelnet

# Group=Internal
# Description=The path to the log4j configuration file, including the file's
name.
service.log.log4j.config=/home/installer/apache-tomcat-5.5.25/webapps/geant2-java-sshtelnet-mp-Echo/WEB-INF/classes/perfsonar/conf/log4j.syslog.properties

# Group=LS
# Description=Location of the Lookup Service
service.r.ls_url=http://somewhere

# Group=Internal
# Description=Type of service
service.r.type=mp

# Group=Authentication
# Description=Location of the Authentication Service
service.as.point=http\://homer.rediris.es\:8080/perfSONAR-AS/services/AuthService

# Group=LS
# Description=The URL address of the service configured by this configuration
file.
service.r.access_point=http://somewhere

# Group=LS
# Description=The name of the scheduler component (the implementation of this
component must also be declared in the components.properties file).
component.registrator.scheduler_component=scheduler

# Group=LS
# Description=Enter 'xmldb' to take metadata elements for register requests
from the XML database, or 'file' to take them from the XML metadata
configuration file.
service.ma.conf_file.store_type=xmldb

# Group=eXist
# Description=The location of the metadata configuration file which is to be
uploaded in the eXist
component.mp.xmldb.metadata_file_name=sshtelnetmetadata.xml

# Group=LS
# Description=The period of time between registrations to the LS
component.registrator.interval=30000

# Group=Internal
# Description=The name of the class which is responsible for handling the
requests
service.mp.class_name=org.perfsonar.service.measurementPoint.lookingGlassType.engine.adapters.WebserviceEngineAdapter

# Group=eXist
# Description=The url of the eXist db
component.mp.xmldb.db_uri=xmldb\:exist\://127.0.0.1\:8090/exist/xmlrpc/db

# Group=LS
# Description=The name of the organisation which deployed the MP
service.r.organization_name=X

# Group=Internal
# Description=The path to the file objects.config, including the NMWG
parser's configuration settings. The parser reads the request or metadata
configuration files, and creates internally used objects that represent these
files.
service.sax_parser.config=/home/installer/apache-tomcat-5.5.25/webapps/geant2-java-sshtelnet-mp-Echo/WEB-INF/classes/perfsonar/conf/objects.config

# Group=eXist
# Description=The password for the eXist database
component.mp.xmldb.db_password=sshtelnet

# Group=eXist
# Description=The type of access for the eXist database (has to be xmlrpc)
component.mp.xmldb.db_access=xmlrpc

# Group=Internal
# Description=The path where the temporary token files will be stored (be
sure to make the path writable!)
service.mp.tokenPath=/home/installer/apache-tomcat-5.5.25/webapps/geant2-java-sshtelnet-mp-Echo/WEB-INF/classes/perfsonar/

# Group=LS
# Description=The name of the metadata configuration file which is to be sent
to the LS
service.ls.registration_file=/home/installer/apache-tomcat-5.5.25/webapps/geant2-java-sshtelnet-mp-Echo/WEB-INF/classes/perfsonar/conf/sshtelnetmetadata.xml

# Group=Authentication
# Description=The types of messages for which Authentication is to be enabled
(if Authentication is enabled off course)
service.as.authn_for_msg_types=SetupDataRequest,MetadataKeyRequest

# Group=LS
# Description=The version of the service
service.r.service_version=1.3.3

# Group=LS
# Description=The name of the service
service.r.service_name=geant2-java-sshtelnet-mp

# Group=Authentication
# Description=If the authentication is enabled or not
service.as.authn_active=off

# Group=LS
# Description=The e-mail address of the contact person for the service
service.r.contact_email=user@domain

# Group=Internal
# Description=Types of messages supported by this service
service.mp.message_types=SetupDataRequest,MetadataKeyRequest,EchoRequest




Archive powered by MHonArc 2.6.16.

Top of Page