added ability to remove local instance of netmaker

This commit is contained in:
0xdcarns
2021-10-20 09:22:05 -04:00
parent dc29e92b0b
commit 51c1973b21
7 changed files with 58 additions and 19 deletions

View File

@@ -24,7 +24,7 @@ import (
func PrintUserLog(username string, message string, loglevel int) {
log.SetFlags(log.Flags() &^ (log.Llongfile | log.Lshortfile))
if int32(loglevel) <= servercfg.GetVerbose() && servercfg.GetVerbose() != 0 {
log.Println(username, message)
log.Println("[netmaker]", username, message)
}
}