Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit71ee92a

Browse files
authored
add @initd.sg/winston-cloudwatch (#2532)
1 parent3547a95 commit71ee92a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

‎docs/transports.md‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,9 @@ Options:
268268
*__logStreamName:__ The name of the CloudWatch log stream to which to log.*[required]*
269269
*__awsConfig:__ An object containing your`accessKeyId`,`secretAccessKey`,`region`, etc.
270270

271-
Alternatively, you may be interested in[winston-cloudwatch][26].
271+
~~Alternatively, you may be interested in[winston-cloudwatch][26].~~
272+
`lazywithclass/winston-cloudwatch` is no longer maintained. Use
273+
[@initd-sg/winston-cloudwatch](https://github.com/initdsg/winston-cloudwatch)
272274

273275
###Amazon DynamoDB Transport
274276
The[winston-dynamodb][36] transport uses Amazon's DynamoDB as a sink for log messages. You can take advantage of the various authentication methods supports by Amazon's aws-sdk module. See[Configuring the SDK in Node.js](http://docs.aws.amazon.com/AWSJavaScriptSDK/guide/node-configuring.html).
@@ -658,7 +660,7 @@ Create a table in your database first:
658660
`message`VARCHAR(2048)NOT NULL,
659661
`meta`VARCHAR(2048)NOT NULL,
660662
`timestamp` DATETIMENOT NULL,
661-
PRIMARY KEY (`id`));
663+
PRIMARY KEY (`id`));
662664
```
663665

664666
>You can also specify`meta` to be a`JSON` field on MySQL 5.7+, i.e., ``meta` JSON NOT NULL`, which is helfpul for searching and parsing.
@@ -737,7 +739,7 @@ The Papertrail transport connects to a [PapertrailApp log destination](https://p
737739

738740
###Parseable Transport
739741

740-
[Parseable](https://parseable.com/) is an open source, general purpose log analytics system.[Parseable-Winston](https://github.com/jybleau/parseable-node-loggers/tree/main/packages/winston#parseable-winston) is a Parseable transport for Winston.
742+
[Parseable](https://parseable.com/) is an open source, general purpose log analytics system.[Parseable-Winston](https://github.com/jybleau/parseable-node-loggers/tree/main/packages/winston#parseable-winston) is a Parseable transport for Winston.
741743

742744
```js
743745
// Using cjs

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp