<?php

$logFile =
'/var/www/html/easychair/storage/logs/workflow_cron.log';

$contents =
file_exists($logFile)
?
file_get_contents($logFile)
:
'No log found';

?>

<div class="container-fluid py-4">

<div class="card">

<div class="card-body">

<h2>

Workflow Cron Logs

</h2>

<pre
style="
max-height:700px;
overflow:auto;
background:#111;
color:#0f0;
padding:20px;
">

<?= htmlspecialchars($contents) ?>

</pre>

</div>

</div>

</div>
