[one-users] detailed logs on xml rpc?

Javier Fontan jfontan at gmail.com
Mon Nov 16 09:11:07 PST 2009


On Wed, Nov 11, 2009 at 1:36 AM, Shi Jin <jinzishuai at gmail.com> wrote:
> I am wondering if there is a way to control the logging level for the XML_RPC?
> I found the log file one_xmlrpc.log but it only says lines like:
> -  - [10/Nov/2009:17:31:24 -0700] "POST" 200 398
> -  - [10/Nov/2009:17:31:39 -0700] "POST" 200 2427

That is the only information you can get from xmlrpc itself, it is
generated by the embedded webserver in OpenNebula daemon. Anyway you
can also get information about the method called in oned.log:

Mon Nov 16 12:30:54 2009 [ReM][D]: HostPoolInfo method invoked
Mon Nov 16 12:32:39 2009 [ReM][D]: VirtualMachineAllocate invoked
Mon Nov 16 12:32:39 2009 [DiM][D]: Allocating a new VM
Mon Nov 16 12:32:42 2009 [ReM][D]: VirtualMachinePoolInfo method invoked

> Can I turn on a more informative logging? Also I couldn't find a
> configuration file for XML_RPC at all. Is there such a place?

The only parameters configurable for XMLPRC is the port where the
server will be attached, this is configured in oned.conf, for example:



Javier Fontan, Grid & Virtualization Technology Engineer/Researcher
DSA Research Group: http://dsa-research.org
Globus GridWay Metascheduler: http://www.GridWay.org
OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org

More information about the Users mailing list