Mantis - Resin
Viewing Issue Advanced Details
3328 trivial always 02-08-09 12:03 02-25-09 17:11
stbu  
ferg  
normal  
closed 3.1.9  
fixed  
none    
none 3.1.9  
0003328: Snapshot 3.1.s090206: status.php uses wrong resin:type for lookup of Logging Messages
The /resin-admin page status.php is using a wrong resin:type to lookup Logging Messages for section "Recent Messages".

Actually:

350: <?php
351:
352: if ($mbean_server) {
353: $mbean = $mbean_server->lookup("resin:type=LoggingManager");
354: }

The line 353 is wrong. LoggingManager does not exist, but LogService. When it's changed to this name

350: <?php
351:
352: if ($mbean_server) {
353: $mbean = $mbean_server->lookup("resin:type=LogService");
354: }

it will work and show this section when Messages could be found.

<?php

if ($mbean_server) {
- $mbean = $mbean_server->lookup("resin:type=LoggingManager");
+ $mbean = $mbean_server->lookup("resin:type=LogService");
}

//
// recent messages
//

Notes
(0003844)
ferg   
02-25-09 17:11   
Also, already fixed in 4.0 branch.