Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dinky
Project
Project
Details
Activity
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
wangpeng
dinky
Commits
f0227cc7
Unverified
Commit
f0227cc7
authored
Nov 20, 2023
by
gaoyan
Committed by
GitHub
Nov 20, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix varible bugs,restore sse log level (#2555)
* Optimize the process * fix some bugs
parent
f1a0d153
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
TaskServiceImpl.java
...src/main/java/org/dinky/service/impl/TaskServiceImpl.java
+1
-1
log4j2.xml
dinky-admin/src/main/resources/log4j2.xml
+1
-1
No files found.
dinky-admin/src/main/java/org/dinky/service/impl/TaskServiceImpl.java
View file @
f0227cc7
...
@@ -246,7 +246,7 @@ public class TaskServiceImpl extends SuperServiceImpl<TaskMapper, Task> implemen
...
@@ -246,7 +246,7 @@ public class TaskServiceImpl extends SuperServiceImpl<TaskMapper, Task> implemen
// The order cannot be wrong here,
// The order cannot be wrong here,
// and the variables from the parameter have the highest priority
// and the variables from the parameter have the highest priority
Map
<
String
,
String
>
variables
=
fragmentVariableService
.
listEnabledVariables
();
Map
<
String
,
String
>
variables
=
fragmentVariableService
.
listEnabledVariables
();
variables
.
putAll
(
task
.
getVariables
(
));
variables
.
putAll
(
Optional
.
ofNullable
(
task
.
getVariables
()).
orElse
(
new
HashMap
<>()
));
task
.
setVariables
(
variables
);
task
.
setVariables
(
variables
);
}
}
int
envId
=
Optional
.
ofNullable
(
task
.
getEnvId
()).
orElse
(-
1
);
int
envId
=
Optional
.
ofNullable
(
task
.
getEnvId
()).
orElse
(-
1
);
...
...
dinky-admin/src/main/resources/log4j2.xml
View file @
f0227cc7
...
@@ -61,7 +61,7 @@
...
@@ -61,7 +61,7 @@
<!--这个是输出日志的格式,如果对里面的参数不理解,可以去看我的这篇文章,网址是:“https://blog.csdn.net/qq_42449963/article/details/104617356”-->
<!--这个是输出日志的格式,如果对里面的参数不理解,可以去看我的这篇文章,网址是:“https://blog.csdn.net/qq_42449963/article/details/104617356”-->
<!--<PatternLayout pattern="[dinky] %d{yyyy-MM-dd HH:mm:ss.SSS} %-5level %class{36} %L %M - %msg%xEx%n"/>-->
<!--<PatternLayout pattern="[dinky] %d{yyyy-MM-dd HH:mm:ss.SSS} %-5level %class{36} %L %M - %msg%xEx%n"/>-->
<PatternLayout
<PatternLayout
pattern=
"%d{yyyy-MM-dd HH:mm:ss.SSS} %c{20}(%L): %m"
/>
pattern=
"%d{yyyy-MM-dd HH:mm:ss.SSS} %
-5level %
c{20}(%L): %m"
/>
</LogSseAppender>
</LogSseAppender>
</appenders>
</appenders>
...
...
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