Skip to content

Commit

Permalink
bump 1.7.4 (#614)
Browse files Browse the repository at this point in the history
* bump 1.7.4

* fix ts error
  • Loading branch information
Mark Wolff committed Apr 9, 2020
1 parent 156036c commit 48c0999
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
15 changes: 3 additions & 12 deletions Bootstrap/Oryx.ts
@@ -1,24 +1,15 @@
import * as types from "../applicationinsights";
import { FileWriter } from "./FileWriter";
import * as types from "../applicationinsights"; // needed but unused
import { StatusLogger } from "./StatusLogger";
import { DiagnosticLogger } from "./DiagnosticLogger";
import appInsightsLoader = require("./Default");

appInsightsLoader.setUsagePrefix("alr_"); // App Services Linux Attach

// Set Status.json logger
appInsightsLoader.setStatusLogger(new StatusLogger(new FileWriter(
StatusLogger.DEFAULT_FILE_PATH,
StatusLogger.DEFAULT_FILE_NAME,
{ deleteOnExit: true, renamePolicy: "stop" }
)));
appInsightsLoader.setStatusLogger(new StatusLogger(console));

// Set Attach Diagnostic Logger
appInsightsLoader.setLogger(new DiagnosticLogger(new FileWriter(
DiagnosticLogger.DEFAULT_LOG_DIR,
DiagnosticLogger.DEFAULT_FILE_NAME,
{ append: true, deleteOnExit: true, renamePolicy: "stop" }
)));
appInsightsLoader.setLogger(new DiagnosticLogger(console));

// Start the SDK
var appInsights = appInsightsLoader.setupAndStart();
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -2,7 +2,7 @@
"name": "applicationinsights",
"license": "MIT",
"bugs": "https://github.com/Microsoft/ApplicationInsights-node.js/issues",
"version": "1.7.3",
"version": "1.7.4",
"description": "Microsoft Application Insights module for Node.js",
"repository": {
"type": "git",
Expand Down

0 comments on commit 48c0999

Please sign in to comment.