| Summary | How to enable logging for an Orbix process? | 
|---|---|
| Article Number | 13329 | 
| Environment | UNIX Windows Orbix 6.x | 
| Question/Problem Description | How to enable logging for an Orbix process? How do I get an Orbix process to output to a log file? | 
| Clarifying Information | |
| Error Message | |
| Defect/Enhancement Number | |
| Cause | |
| Resolution | 
	To enable logging, the Orbix simple_persistent demo can be taken as an example: The server from the demo is run on windows with the following command: So the orbname used is simple_orb. Therefore, the following configuration scope needs to be added to the configuration file: 
	simple_orb 
	The logging level is specified by the event_log:filters variable. In the above example its set to the maximum level. This may not be suitable for a production system as the log files may be too large. The plugins:local_log_stream:filename configuration variable then specifies the location where the logging is been output.  | 
| Workaround | |
| Notes | There is additional information regarding how to enable logging in the Orbix Administrators guide in the chapter "Configuring Orbix Logging". This includes information on various logging levels and the different subsystems that logging can be enabled for. Its worth noting that the additional logging can be specified for the command line using the line: -ORBevent_log:filters *=*. | 
| Attachment | 
| Created date: | 06 September 2011 | 
|---|---|
| Last Modified: | 13 February 2013 | 
| Last Published: | 12 May 2012 | 
| First Published date: | 09 September 2011 | 
#Orbix
#KnowledgeDocs

