Skip to content

Commit

Permalink
change log path
Browse files Browse the repository at this point in the history
  • Loading branch information
FrontMage committed May 29, 2023
1 parent cf3e3cf commit fdd0e26
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,12 @@ export class OutlineShadowsocksServer implements ShadowsocksServer {
});
// This exposes the outline-ss-server output on the docker logs.
// TODO(fortuna): Consider saving the output and expose it through the manager service.
this.ssProcess.stdout.pipe(fs.createWriteStream('/var/deeper/runtime/outline_stdout.log'));
this.ssProcess.stderr.pipe(fs.createWriteStream('/var/deeper/runtime/outline_stdout.log'));
this.ssProcess.stdout.pipe(
fs.createWriteStream('/var/deeper/runtime/outline_stdout.log', {flags: 'a'})
);
this.ssProcess.stderr.pipe(
fs.createWriteStream('/var/deeper/runtime/outline_stdout.log', {flags: 'a'})
);
}
}

Expand Down

0 comments on commit fdd0e26

Please sign in to comment.