(ociswrapper): separate ociswrapper logs from ocis logs (#6776)

This commit is contained in:
Sawjan Gurung
2023-07-12 11:32:03 +05:45
committed by GitHub
parent 0661bc4aa7
commit db39d6b7aa
3 changed files with 35 additions and 22 deletions
+3 -2
View File
@@ -1,9 +1,10 @@
package wrapper
import (
"log"
"fmt"
"net/http"
"ociswrapper/common"
"ociswrapper/log"
"ociswrapper/ocis/config"
"ociswrapper/wrapper/handlers"
)
@@ -26,7 +27,7 @@ func Start(port string) {
httpServer.Handler = mux
log.Printf("Starting server on port %s...", port)
log.Println(fmt.Sprintf("Starting ociswrapper on port %s...", port))
err := httpServer.ListenAndServe()
if err != nil {