We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f9f57c commit 3d03c1bCopy full SHA for 3d03c1b
x/simulation/log.go
@@ -49,7 +49,7 @@ func (lw *StandardLogWriter) PrintLogs() {
49
func createLogFile() *os.File {
50
var f *os.File
51
52
- fileName := fmt.Sprintf("%s.log", time.Now().Format("2006-01-02_15:04:05"))
+ fileName := fmt.Sprintf("%d.log", time.Now().UnixMilli())
53
folderPath := path.Join(os.ExpandEnv("$HOME"), ".simapp", "simulations")
54
filePath := path.Join(folderPath, fileName)
55
0 commit comments