mirror of
https://github.com/ehang-io/nps.git
synced 2025-09-02 03:16:53 +00:00
P2p、install、log package
This commit is contained in:
@@ -60,7 +60,7 @@ func main() {
|
||||
if *logType == "stdout" {
|
||||
logs.SetLogger(logs.AdapterConsole, `{"level":`+*logLevel+`,"color":true}`)
|
||||
} else {
|
||||
logs.SetLogger(logs.AdapterFile, `{"level":`+*logLevel+`,"filename":"`+*logPath+`","daily":false,"color":true}`)
|
||||
logs.SetLogger(logs.AdapterFile, `{"level":`+*logLevel+`,"filename":"`+*logPath+`","daily":false,"maxlines":100000,"color":true}`)
|
||||
}
|
||||
//p2p or secret command
|
||||
if *password != "" {
|
||||
|
Reference in New Issue
Block a user