Correct aws logs link
parent
8abce48a48
commit
483bcf9dd4
|
|
@ -1293,7 +1293,7 @@ class AWSTaskRunner {
|
||||||
const kinesis = new AWS.Kinesis();
|
const kinesis = new AWS.Kinesis();
|
||||||
const stream = yield AWSTaskRunner.getLogStream(kinesis, kinesisStreamName);
|
const stream = yield AWSTaskRunner.getLogStream(kinesis, kinesisStreamName);
|
||||||
let iterator = yield AWSTaskRunner.getLogIterator(kinesis, stream);
|
let iterator = yield AWSTaskRunner.getLogIterator(kinesis, stream);
|
||||||
const logBaseUrl = `https://${__1.Input.region}.console.aws.amazon.com/cloudwatch/home?region=${CF.config.region}#logsV2:log-groups/log-group/${taskDef.taskDefStackName}`;
|
const logBaseUrl = `https://${__1.Input.region}.console.aws.amazon.com/cloudwatch/home?region=${__1.Input.region}#logsV2:log-groups/log-group/${cloud_runner_1.default.buildParameters.awsBaseStackName}-${cloud_runner_1.default.buildParameters.buildGuid}`;
|
||||||
cloud_runner_logger_1.default.log(`You can also see the logs at AWS Cloud Watch: ${logBaseUrl}`);
|
cloud_runner_logger_1.default.log(`You can also see the logs at AWS Cloud Watch: ${logBaseUrl}`);
|
||||||
let shouldReadLogs = true;
|
let shouldReadLogs = true;
|
||||||
let shouldCleanup = true;
|
let shouldCleanup = true;
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -126,7 +126,7 @@ class AWSTaskRunner {
|
||||||
const stream = await AWSTaskRunner.getLogStream(kinesis, kinesisStreamName);
|
const stream = await AWSTaskRunner.getLogStream(kinesis, kinesisStreamName);
|
||||||
let iterator = await AWSTaskRunner.getLogIterator(kinesis, stream);
|
let iterator = await AWSTaskRunner.getLogIterator(kinesis, stream);
|
||||||
|
|
||||||
const logBaseUrl = `https://${Input.region}.console.aws.amazon.com/cloudwatch/home?region=${CF.config.region}#logsV2:log-groups/log-group/${taskDef.taskDefStackName}`;
|
const logBaseUrl = `https://${Input.region}.console.aws.amazon.com/cloudwatch/home?region=${Input.region}#logsV2:log-groups/log-group/${CloudRunner.buildParameters.awsBaseStackName}-${CloudRunner.buildParameters.buildGuid}`;
|
||||||
CloudRunnerLogger.log(`You can also see the logs at AWS Cloud Watch: ${logBaseUrl}`);
|
CloudRunnerLogger.log(`You can also see the logs at AWS Cloud Watch: ${logBaseUrl}`);
|
||||||
let shouldReadLogs = true;
|
let shouldReadLogs = true;
|
||||||
let shouldCleanup = true;
|
let shouldCleanup = true;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue