Skip to content

Commit

Permalink
fix changelog
Browse files Browse the repository at this point in the history
log mem-stats
  • Loading branch information
DanEngelbrecht committed Jul 30, 2022
1 parent 3c9cbdc commit 86fea37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
- **ADDED** `--log-file-path` option, default is no log file output, add path to json formatted log file
- **ADDED** `--log-coloring` option, enables colored logging output in console, default is non-colored
- **ADDED** `--log-console-timestamp` option, enabled timestamps in the console log, default is not to include time stamp
- **CHANGED** Stats output is not printed to StdOut and with formatted logging to log file if enabled
- **CHANGED** Stats output is now printed to StdOut and with formatted logging to log file if `--log-file-path` is enabled
- **CHANGED** All logging now goes through logrus with the default logrus text formatting
- **CHANGED** Progress output in console now goes to StdOut instead of StdErr
- **CHANGED** Add NativeBuffer to avoid copying of bytes to Golang array and remove signed 32-bit integer length of arrays (`WriteStoredBlockToBuffer`, `WriteBlockIndexToBuffer`, `WriteVersionIndexToBuffer`, `WriteStoreIndexToBuffer`)
Expand Down
1 change: 1 addition & 0 deletions cmd/longtail/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ func runCommand() error {
if l == "" {
continue
}
logrus.WithField("mem", l).Infof("stats")
fmt.Printf("[MEM] %s\n", l)
}
longtaillib.DisableMemtrace()
Expand Down

0 comments on commit 86fea37

Please sign in to comment.