INTRODUCTION Overview Download and Install Quick Start Documentation Publications NONFRAMEWORK CODE Driver Interfaces Drivers Libraries Utilities FRAMEWORK CODE Interfaces Components Libraries Utilities Full Software Listings DEVELOPER Tutorials Examples Dev Guide Dashboard PEOPLE Contributors Users Project Download Mailing lists
|
Running Components as Daemons
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 a command line option: $ icebox --Ice.Config=Xxxx --daemon See 'icebox --help' for more options.
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.
Logs go to:
|
Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)