修复 issue #16

This commit is contained in:
gotoeasy 2023-07-20 22:23:53 +08:00
parent 1d083b5859
commit 11a887adb4
4 changed files with 12 additions and 7 deletions

View File

@ -221,6 +221,10 @@ func main() {
- [ ] 集群支持动态删减节点(或是页面管理删除)
### 版本`0.10.2`
- [x] 修复`issue #16`的查询BUG
### 版本`0.10.1`
- [x] 添加支持`日志级别`展示列及过滤条件,需同步使用`glc-logback-appender:0.10.1`
@ -234,15 +238,15 @@ func main() {
- [x] 同步使用`glc-logback-appender:0.10.0`即可自动产生主机名、主机IP信息
- [x] 修复一些小瑕疵
<details>
<summary><strong><mark>更多历史版本更新履历</mark></strong></summary>
### 版本`0.9.0`
- [x] 增加分类(系统)检索条件,支持多系统时准确筛选
- [x] 修复一些小瑕疵
<details>
<summary><strong><mark>更多历史版本更新履历</mark></strong></summary>
### 版本`0.8.8`
- [x] 增加时间范围检索条件

View File

@ -1,3 +1,3 @@
package onstart
const VERSION = "glogcenter 0.10.1"
const VERSION = "glogcenter 0.10.2"

View File

@ -72,7 +72,8 @@ func fnAmqpJsonLogHandle(jsonLog string, err error) bool {
}
engine := ldb.NewDefaultEngine()
engine.AddTextLog(md.Date, md.Text, md.System)
md.Text = cmn.Trim(md.Text)
engine.AddLogDataModel(md)
if conf.IsClusterMode() {
go controller.TransferGlc(md.ToJson()) // 转发其他GLC服务

View File

@ -64,7 +64,7 @@
<el-select v-model="params.loglevel" style="width:420px;" :multiple="false" clearable
:reserve-keyword="true" placeholder="请选择...">
<el-option label="ERROR" value="error"/>
<el-option label="WARN" value="warning"/>
<el-option label="WARN" value="warn"/>
<el-option label="INFO" value="info"/>
<el-option label="DEBUG" value="debug"/>
</el-select>