You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem:
vscode always changes the logfile location, so following it
with "tail -F" is not easy.
Solution:
Introduce setting "aws.dev.logfile" which sets a fixed logfile path.
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -236,6 +236,18 @@ Toolkit for testing and development purposes. To use a setting just add it to
236
236
your `settings.json`. At runtime, if the Toolkit reads any of these settings,
237
237
the "AWS" statusbar item will [change its color](https://github.com/aws/aws-toolkit-vscode/blob/479b9d45b5f5ad30fc10567e649b59801053aeba/src/credentials/awsCredentialsStatusBarItem.ts#L45). Use the setting `aws.dev.forceDevMode` to trigger this effect on start-up.
238
238
239
+
### Logging
240
+
241
+
The `aws.dev.logfile` setting allows you to set the path of the logfile. This makes it easy to
242
+
follow and filter the logfile using shell tools like `tail` and `grep`. For example in
243
+
settings.json,
244
+
245
+
"aws.dev.logfile": "~/awstoolkit.log",
246
+
247
+
then following the log with:
248
+
249
+
tail -F ~/awstoolkit.log
250
+
239
251
### Service Endpoints
240
252
241
253
Endpoint overrides can be set per-service using the `aws.dev.endpoints` settings. This is a JSON object where each key is the service ID (case-insensitive) and each value is the endpoint. Refer to the SDK [API models](https://github.com/aws/aws-sdk-js/tree/master/apis) to find relevant service IDs.
0 commit comments