Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
Y
yzg-util
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
YZG
yzg-util
Commits
27fa3740
Commit
27fa3740
authored
Mar 11, 2025
by
yanzg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复异常提醒,从而正确的跟踪异常信息
parent
0773f52e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
LogCountTime.java
...il-db/src/main/java/com/yanzuoguang/log/LogCountTime.java
+1
-4
LogUrlCountVo.java
...l-db/src/main/java/com/yanzuoguang/log/LogUrlCountVo.java
+1
-0
No files found.
yzg-util-db/src/main/java/com/yanzuoguang/log/LogCountTime.java
View file @
27fa3740
...
...
@@ -4,7 +4,6 @@ import com.yanzuoguang.util.cache.MemoryCache;
import
com.yanzuoguang.util.helper.DateHelper
;
import
com.yanzuoguang.util.helper.StringHelper
;
import
com.yanzuoguang.util.thread.ThreadNext
;
import
com.yanzuoguang.util.vo.CloudConfig
;
import
org.springframework.beans.factory.InitializingBean
;
import
org.springframework.stereotype.Component
;
...
...
@@ -22,7 +21,6 @@ public class LogCountTime implements ThreadNext.Next, InitializingBean {
private
static
final
String
URL_PARA_START
=
"?"
;
private
final
LogConfig
logConfig
;
private
final
CloudConfig
cloudConfig
;
private
final
LogBase
logBase
;
/**
* 今日缓存,超过时间会自动清空
...
...
@@ -33,9 +31,8 @@ public class LogCountTime implements ThreadNext.Next, InitializingBean {
*/
private
String
today
;
public
LogCountTime
(
LogConfig
logConfig
,
CloudConfig
cloudConfig
,
LogBase
logBase
)
{
public
LogCountTime
(
LogConfig
logConfig
,
LogBase
logBase
)
{
this
.
logConfig
=
logConfig
;
this
.
cloudConfig
=
cloudConfig
;
this
.
logBase
=
logBase
;
}
...
...
yzg-util-db/src/main/java/com/yanzuoguang/log/LogUrlCountVo.java
View file @
27fa3740
...
...
@@ -21,6 +21,7 @@ public class LogUrlCountVo {
public
LogUrlCountVo
(
String
url
,
int
level
)
{
this
.
url
=
url
;
this
.
level
=
level
;
}
public
void
addFinish
(
long
time
,
boolean
isLog
)
{
...
...
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