#129 Add Functionality to Capture Logs to File

Open
opened 1 year ago by sarah · 2 comments
sarah commented 1 year ago

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.
dan commented 11 months ago
Owner
tracking in https://git.openprivacy.ca/openprivacy/libricochet-go/issues/67
dan added this to the 0.3.2 milestone 2 months ago
dan commented 2 months ago
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
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
Cancel
Save
There is no content yet.