The Embotics® vCommander® Windows service logs a great deal of information, which is typically used when interacting with Embotics’ technical support. An easy way to submit logs to the technical support team is to run the Embotics vCommander diagnostics. 


Manually Managing Logging Level


You can also set DEBUG logging manually for individual components in the interest of keeping the log files current, and at a manageable size.

  1. On the Embotics vCommander application server, open the referenced file path (example: C:\Program Files\Embotics\vCommander\tomcat\common\classes\log4j.properties) using a text editor such as Notepad.
  2. Add the debug statement from those listed below to the end of the file, making sure that there are no spaces preceding or trailing. Use lines only as directed by support to avoid increasing logging beyond the scope of what is needed to investigate your issue. Also, add rem statements before the lines with your own details. 


Example: C:\Program Files\Embotics\vCommander\tomcat\common\classes

# silence apache cxf INFO messages (too verbose)

# safe to leave on

log4j.logger.org.apache.cxf=ERROR
 
# Troubleshooting mediator issues (Tarek Aug 23 2017) for Embotics case # 19222

# Remove or comment out when done testing.

#log4j.logger.observation=DEBUG
#log4j.logger.com.embotics.vlm.service.request=DEBUG
#log4j.logger.com.embotics.vlm.service.server.mediator=DEBUG
 

# logging for guest os commands like run program etc..

#log4j.logger.osscanner=DEBUG


There’s no need to restart the vCommander Windows service when making these changes.


Feature File Line
Active Directory and LDAP
(vCommander 6.x)

\Embotics\vCommander\authservice\common\classes\log4j.properties 

log4j.logger.com.embotics.authservice.service.security.userdirectory=DEBUG

Active Directory and LDAP
(vCommander 5.x)
\Embotics\vCommander\tomcat\common\classes\log4j.properties 


log4j.logger.com.embotics.vlm.service.security.userdirectory=DEBUG

Capacity
\Embotics\vCommander\tomcat\common\classes\log4j.properties 


log4j.logger.capacity=DEBUG

Costing
\Embotics\vCommander\tomcat\common\classes\log4j.properties 


log4j.logger.com.embotics.vlm.service.cost=DEBUG

Destinations
\Embotics\vCommander\tomcat\common\classes\log4j.properties 


log4j.logger.com.embotics.vlm.service.destination=DEBUG

Events Processing
\Embotics\vCommander\tomcat\common\classes\log4j.properties 


log4j.logger.eventdistribution=DEBUG
log4j.logger.EventProducerExecutor=DEBUG
log4j.logger.EventStats=DEBUG
log4j.logger.com.embotics.vlm.service.event=DEBUG

Fencing
\Embotics\vCommander\tomcat\common\classes\log4j.properties 


log4j.logger.fencing=DEBUG

Guest OS Customizations
\Embotics\vCommander\tomcat\common\classes\log4j.properties 


log4j.logger.com.embotics.vlm.service.server.mediator=DEBUG

Guest OS Interaction
\Embotics\vCommander\tomcat\common\classes\log4j.properties 


log4j.logger.osscanner=DEBUG

IP Pooling
\Embotics\vCommander\tomcat\common\classes\log4j.properties 


log4j.logger.com.embotics.vlm.service.network=DEBUG

Login Session Security
(vCommander 6.x)
\Embotics\vCommander\authservice\common\classes\log4j.properties 


log4j.logger.com.embotics.authservice.service.security=DEBUG

Login Session Security
(vCommander 5.x)
\Embotics\vCommander\tomcat\common\classes\log4j.properties 


log4j.logger.com.embotics.vlm.service.security=DEBUG

Method Timing
\Embotics\vCommander\tomcat\common\classes\log4j.properties 


log4j.logger.MethodTiming=DEBUG

Observation Processing
\Embotics\vCommander\tomcat\common\classes\log4j.properties 


log4j.logger.observation=DEBUG

Observation Timing \Embotics\vCommander\tomcat\common\classes\log4j.properties 


log4j.logger.observation.timing=DEBUG

Organization Management
\Embotics\vCommander\tomcat\common\classes\log4j.properties 


log4j.logger.com.embotics.vlm.service.organization=DEBUG

Policies \Embotics\vCommander\tomcat\common\classes\log4j.properties 


log4j.logger.com.embotics.vlm.service.policy=DEBUG

Policy Execution \Embotics\vCommander\tomcat\common\classes\log4j.properties 


log4j.logger.ruleengine.timing=DEBUG

Policy Modification


\Embotics\vCommander\tomcat\common\classes\log4j.properties 


log4j.logger.ruleengine=DEBUG

Recommendations \Embotics\vCommander\tomcat\common\classes\log4j.properties 


log4j.logger.ruleengine.timing=DEBUG

Report Generation \Embotics\vCommander\tomcat\common\classes\log4j.properties 


log4j.logger.com.embotics.vlm.reports.type=DEBUG

Reporting Service
\Embotics\vCommander\tomcat\common\classes\log4j.properties 


log4j.logger.com.embotics.vlm.service.reports=DEBUG

Run Program / Scripting (Private Cloud)
\Embotics\vCommander\tomcat\common\classes\log4j.properties 


log4j.logger.com.embotics.vlm.service.objectmodel=DEBUG
log4j.logger.com.embotics.vlm.service.request=DEBUG
log4j.logger.com.embotics.vlm.service.workflow=DEBUG

Run Program / Scripting (Public Cloud) \Embotics\vCommander\tomcat\common\classes\log4j.properties 


log4j.logger.com.embotics.vlm.controller.task=DEBUG
log4j.logger.com.embotics.vlm.controller.task.gd=DEBUG

Service Requests \Embotics\vCommander\tomcat\common\classes\log4j.properties 


log4j.logger.com.embotics.vlm.service.request=DEBUG

SMTP integration
\Embotics\vCommander\tomcat\common\classes\log4j.properties 


log4j.logger.com.embotics.vlm.service.smtp=DEBUG

Single Sign-on
\Embotics\vCommander\tomcat\common\classes\log4j.properties 


log4j.logger.org.springframework.security.web=DEBUG
log4j.logger.org.springframework.security.saml=DEBUG
log4j.logger.com.embotics.vlm.portal.saml=DEBUG

Tasks Detail
\Embotics\vCommander\tomcat\common\classes\log4j.properties 


log4j.logger.com.embotics.vlm.service.task=DEBUG

Tasks Subsystem \Embotics\vCommander\tomcat\common\classes\log4j.properties 


log4j.logger.com.embotics.vlm.controller.task=DEBUG

VM Naming
\Embotics\vCommander\tomcat\common\classes\log4j.properties 


log4j.logger.com.embotics.vlm.service.objectmodel=DEBUG

VMM Interactions
\Embotics\vCommander\tomcat\common\classes\log4j.properties 


log4j.logger.com.embotics.vlm.service.server.mediator=DEBUG

Workflows
\Embotics\vCommander\tomcat\common\classes\log4j.properties 


log4j.logger.com.embotics.vlm.service.workflow=DEBUG