VM-Manager/Debugging: Difference between revisions
Jump to navigation
Jump to search
m (added Category:Development using HotCat) |
No edit summary |
||
| 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]] | [[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',
),