Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sidecar-client-chain33
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
link33
sidecar-client-chain33
Commits
c4065239
Commit
c4065239
authored
Apr 27, 2022
by
suyanlong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix log
parent
66de9f2c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
evmxgo.go
evmxgo/evmxgo.go
+2
-2
paracross.go
paracross/paracross.go
+2
-2
No files found.
evmxgo/evmxgo.go
View file @
c4065239
...
...
@@ -98,8 +98,8 @@ func (e *Evmxgo) Initialize(configPath string, _ string, _ []byte) error {
err
=
log
.
Initialize
(
log
.
WithReportCaller
(
chain33Config
.
Log
.
ReportCaller
==
true
),
log
.
WithPersist
(
true
),
log
.
WithFilePath
(
filepath
.
Join
(
filepath
.
Dir
(
configPath
),
"logs"
,
"evmxgo.log"
)),
log
.
WithFileName
(
"chain33-client-"
+
PluginName
),
log
.
WithFilePath
(
filepath
.
Join
(
filepath
.
Dir
(
configPath
),
"logs"
)),
log
.
WithFileName
(
"chain33-client-"
+
PluginName
+
".log"
),
log
.
WithMaxSize
(
2
*
1024
*
1024
),
log
.
WithMaxAge
(
24
*
time
.
Hour
),
log
.
WithRotationTime
(
24
*
time
.
Hour
),
...
...
paracross/paracross.go
View file @
c4065239
...
...
@@ -119,8 +119,8 @@ func (p *Paracross) Initialize(configPath string, ID string, extra []byte) error
err
=
log
.
Initialize
(
log
.
WithReportCaller
(
chain33Config
.
Log
.
ReportCaller
==
true
),
log
.
WithPersist
(
true
),
log
.
WithFilePath
(
filepath
.
Join
(
filepath
.
Dir
(
configPath
),
"logs"
,
"paracross.log"
)),
log
.
WithFileName
(
"chain33-client-"
+
PluginName
),
log
.
WithFilePath
(
filepath
.
Join
(
filepath
.
Dir
(
configPath
),
"logs"
)),
log
.
WithFileName
(
"chain33-client-"
+
PluginName
+
".log"
),
log
.
WithMaxSize
(
2
*
1024
*
1024
),
log
.
WithMaxAge
(
24
*
time
.
Hour
),
log
.
WithRotationTime
(
24
*
time
.
Hour
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment