1
This commit is contained in:
parent
851f2aeead
commit
9adb078831
@ -11,3 +11,5 @@ const (
|
|||||||
|
|
||||||
const MAX_NODE_ID = 8
|
const MAX_NODE_ID = 8
|
||||||
const MAX_INSTANCE_ID = 500
|
const MAX_INSTANCE_ID = 500
|
||||||
|
|
||||||
|
const TGLOG_FILENAME = "log_%d_%s.log"
|
||||||
|
@ -5,4 +5,6 @@ package f5
|
|||||||
|
|
||||||
const (
|
const (
|
||||||
SYS_LOG_ROOT = "/data/logs/%s/logs/"
|
SYS_LOG_ROOT = "/data/logs/%s/logs/"
|
||||||
|
TGLOG_ROOT = "/data/logs/%s/upload/"
|
||||||
|
POLY_TGLOG_ROOT = "/data/logs/%s/%d/upload/"
|
||||||
)
|
)
|
||||||
|
@ -5,4 +5,6 @@ package f5
|
|||||||
|
|
||||||
const (
|
const (
|
||||||
SYS_LOG_ROOT = "d:/linux_root/data/logs/%s/logs/"
|
SYS_LOG_ROOT = "d:/linux_root/data/logs/%s/logs/"
|
||||||
|
TGLOG_ROOT = "d:/linux_root/data/logs/%s/upload/"
|
||||||
|
POLY_TGLOG_ROOT = "d:/linux_root/data/logs/%s/%d/upload/"
|
||||||
)
|
)
|
||||||
|
4
tglog.go
4
tglog.go
@ -8,10 +8,6 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
const TGLOG_ROOT = "/data/logs/%s/upload/"
|
|
||||||
const POLY_TGLOG_ROOT = "/data/logs/%s/%d/upload/"
|
|
||||||
const TGLOG_FILENAME = "log_%d_%s.log"
|
|
||||||
|
|
||||||
type tgLogMsgNode struct {
|
type tgLogMsgNode struct {
|
||||||
gameId int32
|
gameId int32
|
||||||
jsonStr string
|
jsonStr string
|
||||||
|
Loading…
x
Reference in New Issue
Block a user