Fixed typo disk logs

pull/107/head
Manuel Aranda Rosales 2026-05-06 17:28:11 +02:00
parent 08aeb3b84d
commit 1915649d17
1 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
#[AsController]
class GetDiskLogsAction extends AbstractController
{
private const LOG_DIR = '/var/log/ogClients/';
private const LOG_DIR = '/var/log/ogclients/';
public function __construct(
private readonly LoggerInterface $logger,
@ -29,7 +29,7 @@ class GetDiskLogsAction extends AbstractController
}
$ip = $client->getIp();
$logPath = self::LOG_DIR . $ip . '/clieng.log';
$logPath = self::LOG_DIR . $ip . '/client.log';
if (!file_exists($logPath)) {
throw new NotFoundHttpException(sprintf('No disk log file found for client %s.', $ip));