Skip to content

Commit 414c697

Browse files
authored
Update README.md
1 parent 673dc2d commit 414c697

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,24 @@ This is a cryptocurrency miner for Nvidia GPUs
425425
426426
-l, --log-file <LOG_FILE>
427427
Enables logging output of the miner to the specified log file
428+
429+
If the log file already exists it will be appended.
430+
The miner uses log rotation keeping maximum of 5 log files,
431+
size limit is 5MB.
432+
433+
Supports the following template parameters:
434+
`{algo}` - algorithm name
435+
`{ts}` - timestamp in the format "yyyyMMdd_HHmmss"
436+
note when using this option the miner will be creating
437+
a new log file every time it is launched
438+
439+
Example:
440+
--log-file rigel_{algo}_{ts}.log
441+
442+
Files created:
443+
rigel_kawpow_20240115_123240.log
444+
rigel_kawpow_20240116_185402.log
445+
rigel_kawpow_20240116_190938.log
428446
429447
--log-network
430448
Enables logging network traffic (useful for debugging)

0 commit comments

Comments
 (0)