I2P Address: [
http://git.idk.i2p
]
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
i2p.i2p
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
I2P Developers
i2p.i2p
Commits
7a1b1743
Unverified
Commit
7a1b1743
authored
8 months ago
by
idk
Browse files
Options
Downloads
Patches
Plain Diff
StatManager: reduce log levels back to debug when stats are not present
parent
6601e562
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
core/java/src/net/i2p/stat/StatManager.java
+6
-6
6 additions, 6 deletions
core/java/src/net/i2p/stat/StatManager.java
with
6 additions
and
6 deletions
core/java/src/net/i2p/stat/StatManager.java
+
6
−
6
View file @
7a1b1743
...
@@ -161,8 +161,8 @@ public class StatManager {
...
@@ -161,8 +161,8 @@ public class StatManager {
if
(
freq
!=
null
)
if
(
freq
!=
null
)
freq
.
eventOccurred
();
freq
.
eventOccurred
();
else
else
if
(
_log
.
shouldLog
(
Log
.
WARN
)
)
if
(
_log
.
shouldLog
(
Log
.
DEBUG
)
_log
.
warn
(
"Invalid frequency stat : "
+
name
);
_log
.
debug
(
"Invalid frequency stat : "
+
name
);
}
}
/** update the given rate statistic, taking note that the given data point was received (and recalculating all rates) */
/** update the given rate statistic, taking note that the given data point was received (and recalculating all rates) */
...
@@ -171,8 +171,8 @@ public class StatManager {
...
@@ -171,8 +171,8 @@ public class StatManager {
if
(
stat
!=
null
)
if
(
stat
!=
null
)
stat
.
addData
(
data
,
eventDuration
);
stat
.
addData
(
data
,
eventDuration
);
else
else
if
(
_log
.
shouldLog
(
Log
.
WARN
)
)
if
(
_log
.
shouldLog
(
Log
.
DEBUG
)
_log
.
warn
(
"Invalid rate stat : "
+
name
);
_log
.
debug
(
"Invalid rate stat : "
+
name
);
}
}
/**
/**
...
@@ -185,8 +185,8 @@ public class StatManager {
...
@@ -185,8 +185,8 @@ public class StatManager {
if
(
stat
!=
null
)
if
(
stat
!=
null
)
stat
.
addData
(
data
);
stat
.
addData
(
data
);
else
else
if
(
_log
.
shouldLog
(
Log
.
WARN
)
)
if
(
_log
.
shouldLog
(
Log
.
DEBUG
)
_log
.
warn
(
"Invalid rate stat : "
+
name
);
_log
.
debug
(
"Invalid rate stat : "
+
name
);
}
}
public
synchronized
void
coalesceStats
()
{
public
synchronized
void
coalesceStats
()
{
...
...
This diff is collapsed.
Click to expand it.
idk
@idk
mentioned in issue
#418 (closed)
·
8 months ago
mentioned in issue
#418 (closed)
mentioned in issue #418
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment