Add Functionality to Capture Logs to File #129

已關閉
sarah2019-03-05 00:12:17 +00:00建立 · 3 comment
管理員

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.
管理員
tracking in https://git.openprivacy.ca/openprivacy/libricochet-go/issues/67
dan 新增至0.3.2 里程碑 2019-12-18 22:41:56 +00:00
管理員

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
管理員

--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 Assignees
2 參與者
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.