Skip to content

Commit

Permalink
Remove trace level logs since they log stacktraces (#2074)
Browse files Browse the repository at this point in the history
  • Loading branch information
soulgalore authored Feb 1, 2024
1 parent bd9b07e commit e823851
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/android/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export class Android {
}

async _downloadFile(sourcePath, destinationPath) {
log.trace(`Pulling to ${destinationPath} from ${sourcePath}`);
log.debug(`Pulling to ${destinationPath} from ${sourcePath}`);

const transfer = await this.device.pull(sourcePath);

Expand Down
4 changes: 2 additions & 2 deletions lib/core/seleniumRunner.js
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ export class SeleniumRunner {
);
}

log.trace('Executing privileged script %s', script);
log.verbose('Executing privileged script %s', script);
log.verbose('Executing privileged script %s', name);

const oldContext = await this.driver.getContext();
Expand Down Expand Up @@ -486,7 +486,7 @@ export class SeleniumRunner {
);
}

log.trace('Executing privileged async script %s', script);
log.verbose('Executing privileged async script %s', script);
log.verbose('Executing privileged async script %s', name);

try {
Expand Down
2 changes: 1 addition & 1 deletion lib/video/screenRecording/desktop/ffmpegRecorder.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ async function startRecording(ffmpegArguments, nice, taskset, filePath) {
async function waitForRecording(readableStream) {
return new Promise((resolve, reject) => {
readableStream.on('data', data => {
log.trace(data.toString());
log.verbose(data.toString());
if (/Press \[q] to stop/.test(data.toString())) {
// readableStream.removeAllListeners('data');
return resolve();
Expand Down

0 comments on commit e823851

Please sign in to comment.