mirror of
https://github.com/PowerJob/PowerJob.git
synced 2025-07-17 00:00:04 +08:00
feat: tempory skip cycle reference check
This commit is contained in:
parent
7feb25cf8a
commit
fe1fad6a7b
@ -13,6 +13,9 @@ spring.servlet.multipart.file-size-threshold=0
|
||||
spring.servlet.multipart.max-file-size=209715200
|
||||
spring.servlet.multipart.max-request-size=209715200
|
||||
|
||||
# temporary skip circular references check
|
||||
spring.main.allow-circular-references=true
|
||||
|
||||
###### PowerJob self-owned configuration (The following properties should exist in application.properties only). ######
|
||||
# Akka ActorSystem port.
|
||||
oms.akka.port=10086
|
||||
|
@ -11,6 +11,8 @@ import tech.powerjob.common.model.LogConfig;
|
||||
*/
|
||||
public class OmsStdOutLogger extends AbstractOmsLogger {
|
||||
|
||||
private static final String PREFIX = "[PowerJob] [%s] ";
|
||||
|
||||
public OmsStdOutLogger(LogConfig logConfig) {
|
||||
super(logConfig);
|
||||
}
|
||||
@ -36,6 +38,6 @@ public class OmsStdOutLogger extends AbstractOmsLogger {
|
||||
}
|
||||
|
||||
private static String buildStdOut(LogLevel logLevel, String messagePattern, Object... args) {
|
||||
return logLevel.name().concat("-").concat(genLogContent(messagePattern, args));
|
||||
return String.format(PREFIX, logLevel.name()).concat(genLogContent(messagePattern, args));
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user