mirror of
https://github.com/portainer/portainer.git
synced 2025-07-21 22:39:41 +02:00
fix(libstack): cannot open std edge stack log page [BE-11603] (#385)
This commit is contained in:
parent
b73f846397
commit
c2c1ac70f8
2 changed files with 62 additions and 2 deletions
|
@ -31,8 +31,10 @@ const PortainerEdgeStackLabel = "io.portainer.edge_stack_id"
|
|||
var mu sync.Mutex
|
||||
|
||||
func init() {
|
||||
// Redirect Compose logging to zerolog
|
||||
logrus.SetOutput(log.Logger)
|
||||
logrus.SetOutput(&LogrusToZerologWriter{})
|
||||
logrus.SetFormatter(&logrus.TextFormatter{
|
||||
DisableTimestamp: true,
|
||||
})
|
||||
}
|
||||
|
||||
func withCli(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue