Only mirror messages, not whole error log
This commit is contained in:
@@ -228,8 +228,10 @@ func doMain() error {
|
|||||||
} else {
|
} else {
|
||||||
f = f + ".LOG"
|
f = f + ".LOG"
|
||||||
mirrorLifecycle, err = mirrorLog(f, func(msg string) {
|
mirrorLifecycle, err = mirrorLog(f, func(msg string) {
|
||||||
// Log the message, so we get a timestamp etc.
|
if strings.HasPrefix(msg, "AMQ") {
|
||||||
log.Println(msg)
|
// Log the message, so we get a timestamp etc.
|
||||||
|
log.Println(msg)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user