mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-03 05:19:37 +00:00
feat: full screen logs
fix: logs are in order now
This commit is contained in:
1 parent
f56d373ed2
commit
1175d68ab5
3 files changed
+24
-6
No files matched your search
@@ -33,9 +33,11 @@ class GetLogs extends Component
|
||||
if ($refresh) {
|
||||
$this->outputs = '';
|
||||
}
|
||||
Process::run($sshCommand, function (string $type, string $output) {
|
||||
$this->doSomethingWithThisChunkOfOutput($output);
|
||||
});
|
||||
$command = Process::run($sshCommand);
|
||||
$output = $command->output();
|
||||
$error = $command->errorOutput();
|
||||
$this->doSomethingWithThisChunkOfOutput($output);
|
||||
$this->doSomethingWithThisChunkOfOutput($error);
|
||||
}
|
||||
}
|
||||
public function render()
|
||||
|
||||
Reference in new issue
Block a user