Difference between revisions of "VM-Manager/Debugging"
From stoney cloud
[checked revision] | [checked revision] |
m (removed Category:Documentation using HotCat) |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | == Logfile location == | ||
+ | |||
+ | * vm-manager is set to log via syslog by default | ||
+ | * the logfile should therefore be located here: <code>/var/log/syslog/vm-manager.log</code> | ||
+ | |||
+ | == Increase log verbosity == | ||
+ | |||
+ | To get more debug output, change the <code>levels</code> parameter in <code>/var/www/localhost/htdocs/vm-manager/vm_config.php</code> to match the following: | ||
+ | |||
+ | <source lang='php'> | ||
+ | array( | ||
+ | 'class' => 'ext.ESysLogRoute', | ||
+ | 'logName' => 'vm-manager', | ||
+ | 'logFacility' => LOG_LOCAL0, | ||
+ | 'levels' => 'profile, trace, info, error, warning', | ||
+ | ), | ||
+ | </source> | ||
+ | |||
+ | [[Category:Development]] |
Latest revision as of 09:38, 10 October 2014
Logfile location
- vm-manager is set to log via syslog by default
- the logfile should therefore be located here:
/var/log/syslog/vm-manager.log
Increase log verbosity
To get more debug output, change the levels
parameter in /var/www/localhost/htdocs/vm-manager/vm_config.php
to match the following:
array( 'class' => 'ext.ESysLogRoute', 'logName' => 'vm-manager', 'logFacility' => LOG_LOCAL0, 'levels' => 'profile, trace, info, error, warning', ),