Skip to content

Commit

Permalink
feat(logger): Log config and logfile location to logfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Hypfer committed Feb 16, 2021
1 parent 8fd53a5 commit 0171a8d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Valetudo.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ class Valetudo {
}

Logger.info("Starting Valetudo " + Tools.GET_VALETUDO_VERSION());
Logger.info("Configuration file: " + this.config.location);
Logger.info("Logfile: " + Logger.LogFile);
Logger.info("Robot: " + this.robot.getManufacturer() + " " + this.robot.getModelName() + " (" + this.robot.constructor.name + ")");
Logger.info("JS Runtime Version " + process.version);
Logger.info("Max Heap Size: " + v8.getHeapStatistics().heap_size_limit/1024/1024 + " MiB");
Expand Down

0 comments on commit 0171a8d

Please sign in to comment.