-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Open
Description
filepath: internal/amass_engine/cli.go
selectLogger function use illegal filename, so command option -log-dir always failed
func selectLogger(dir string) (*slog.Logger, error) {
filename := fmt.Sprintf("amass_engine_%s.log", time.Now().Format("2006-01-02T15:04:05"))
error info:
amass engine -log-dir logs
Failed to create the logger: failed to open the log file: open logs\amass_engine_2025-07-16T16:21:54.log: The filename, directory name, or volume label syntax is incorrect.
Metadata
Metadata
Assignees
Labels
No labels