Peter wrote:
Nate,
I've tried that as is, and got stuck:
Traceback (most recent call last): File "/opt/galaxy-dist/lib/galaxy/web/buildapp.py", line 82, in app_factory app = UniverseApplication( global_conf = global_conf, **kwargs ) File "/opt/galaxy-dist/lib/galaxy/app.py", line 21, in __init__ self.datatypes_registry = galaxy.datatypes.registry.Registry( self.config.root, self.config.datatypes_config ) File "/opt/galaxy-dist/lib/galaxy/datatypes/registry.py", line 36, in __init__ self.log.debug( 'Loading datatypes from %s' % config ) File "/usr/lib64/python2.4/logging/__init__.py", line 955, in debug apply(self._log, (DEBUG, msg, args), kwargs) File "/usr/lib64/python2.4/logging/__init__.py", line 1079, in _log self.handle(record) File "/usr/lib64/python2.4/logging/__init__.py", line 1089, in handle self.callHandlers(record) File "/usr/lib64/python2.4/logging/__init__.py", line 1126, in callHandlers hdlr.handle(record) File "/usr/lib64/python2.4/logging/__init__.py", line 642, in handle self.emit(record) File "/usr/lib64/python2.4/logging/handlers.py", line 670, in emit self.mapPriority(record.levelname)), File "/usr/lib64/python2.4/logging/handlers.py", line 633, in encodePriority facility = self.facility_names[facility] KeyError: 'syslog_facility'
Any tips?
I figured out Galaxy is using PastScript for this, right?: http://pythonpaste.org/script
Yup.
Looking at the docstring for logging.handlers.SysLogHandler I have tried several variations without success.
The values in the 'args' key under [handler_syslog] should be replaced with values applicable to your local site. For example, if you wanted to log to the local syslog, facility 'local6', you'd specify the following: args=('/dev/log','local6') --nate
Thanks,
Peter