Add Functionality to Capture Logs to File #129

Fermé
créé 2019-03-05 00:12:17 +00:00 par sarah · 3 commentaires
Propriétaire

We are starting to receive reports from different systems with different setups and having a standard away to parse logs is becoming necessary.

We are starting to receive reports from different systems with different setups and having a standard away to parse logs is becoming necessary.
Propriétaire
tracking in https://git.openprivacy.ca/openprivacy/libricochet-go/issues/67
dan a ajouté ça au jalon 0.3.2 2019-12-18 22:41:56 +00:00.
Propriétaire

main.go - 39

if runtime.GOOS == "windows" {
		filelogger, err := log.NewFile(log.LevelInfo, "cwtch_log.txt")
		if err == nil {
			log.SetStd(filelogger)
		}
	}

we have the ability and do on windows. should add a command line switch for it

main.go - 39 ``` if runtime.GOOS == "windows" { filelogger, err := log.NewFile(log.LevelInfo, "cwtch_log.txt") if err == nil { log.SetStd(filelogger) } } ``` we have the ability and do on windows. should add a command line switch for it
Propriétaire

--logFile added

--logFile added
dan a fermé ce ticket 2020-11-13 20:45:24 +00:00.
Ce dépôt est archivé. Vous ne pouvez pas commenter de tickets.
Sans jalon
Sans assignation
2 participants
Échéance
La date d’échéance est invalide ou hors plage. Veuillez utiliser le format 'aaaa-mm-dd'.

Aucune échéance n'a été définie.

Dépendances

Aucune dépendance définie.

Référence : cwtch.im/ui#129
Sans contenu.