orca-robotics


INTRODUCTION
Overview
Download and Install
Quick Start
Documentation
Publications

REPOSITORY
Interfaces
Components
Libraries
Utilities
Software Map

DEVELOPER
Tutorials
Examples
Dev Guide
Dashboard
Wiki
login/pass: orca/orca

PEOPLE
Contributors
Users

SourceForge.net Logo
Project
Download
Mailing lists

 

         

Running Components as Daemons

Note:
Reviewed for release 2.0.0.

Daemons are defined here.

Running a component as a daemon
To implement a component as a daemon (or Service under Win32), one approach is to simply do all the forking etc yourself. Alternatively, daemon support exists if your component derives from orcaice::Component and it can run as an IceBox service. To start an icebox as a daemon, simply add an command line option:

$ icebox --Ice.Config=Xxxx --daemon

See 'icebox --help' for more options.

Logging to SysLog
If your IceBox uses standard Ice services (such as IceStorm), start with '--Ice.UseSyslog=1' to get them to log information.

For orcaice::Components, add something like the following to the .cfg file for logging:

#Orca.Tracer.DebugToLog=5
Orca.Tracer.InfoToLog=5
Orca.Tracer.WarningToLog=5
Orca.Tracer.ErrorToLog=5
Orca.Tracer.OtherToLog=5
Orca.Tracer.HeartbeatToLog=5

Currently, orcaice::Tracer logging to SysLog is implemented for Unix only.

Where logs get written
Logs go to:
  • /var/log/syslog
  • /var/log/messages
  • /var/log/user.log
 

Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)


Generated for Orca Robotics by  doxygen 1.4.5