mirror of
https://gitea.elkins.co/Networking/ccl.git
synced 2025-03-09 04:31:38 -05:00
Logging: show abbreviated id
This commit is contained in:
parent
6b2dd74edc
commit
dd7adc00e1
@ -98,7 +98,7 @@ func (c *Container) LogEntry() *log.Entry {
|
||||
"container": c.Name,
|
||||
}
|
||||
if c.cdata != nil && c.cdata.ID != "" {
|
||||
f["id"] = c.cdata.ID
|
||||
f["id"] = c.cdata.ID[:12] + "…"
|
||||
}
|
||||
if c.cdata.State != nil {
|
||||
f["state"] = c.cdata.State.Status
|
||||
|
Loading…
x
Reference in New Issue
Block a user