Add Functionality to Capture Logs to File #129

Closed
opened 2019-03-05 00:12:17 +00:00 by sarah · 3 comments
Owner

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.
Owner
tracking in https://git.openprivacy.ca/openprivacy/libricochet-go/issues/67
dan added this to the 0.3.2 milestone 2019-12-18 22:41:56 +00:00
Owner

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
Owner

--logFile added

--logFile added
dan closed this issue 2020-11-13 20:45:24 +00:00
This repo is archived. You cannot comment on issues.
No Milestone
No Assignees
2 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cwtch.im/ui#129
No description provided.