diff --git a/api.php b/api.php index ad075d3..c0ebdf3 100644 --- a/api.php +++ b/api.php @@ -73,6 +73,12 @@ echo clean($logOutput); } + if(strtoupper($_REQUEST['METODE']) == "HTMLLOG") + { + $logOutput = $dockerClient->getContainerLogs($currentContainer['Id']); + echo html_entity_decode(clean($logOutput)); + } + if(strtoupper($_REQUEST['METODE']) == "COMMAND") { if(isset($_REQUEST['COMMAND']))