Skip to content

Commit

Permalink
hashed logs
Browse files Browse the repository at this point in the history
  • Loading branch information
frostebite committed Aug 14, 2023
1 parent 4225feb commit 174bda8
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
4 changes: 0 additions & 4 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions src/model/cloud-runner/remote-client/remote-client-logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,7 @@ export class RemoteClientLogger {
CloudRunnerLogger.log(`Collected Logs`);
let hashedLogs = fs.readFileSync(RemoteClientLogger.LogFilePath).toString();

// create hashed version of logs using md5sum
const startPath = process.cwd();
process.chdir('/home');
hashedLogs = await await CloudRunnerSystem.Run(`md5sum ${RemoteClientLogger.LogFilePath}`);
process.chdir(startPath);

CloudRunnerLogger.log(`LOGHASH: ${hashedLogs}`);
const logs = fs.readFileSync(RemoteClientLogger.LogFilePath).toString();
Expand Down

0 comments on commit 174bda8

Please sign in to comment.