This is an automated email from the ASF dual-hosted git repository.
peacewong pushed a commit to branch dev-1.1.1
in repository https://gitbox.apache.org/repos/asf/incubator-linkis.git
The following commit(s) were added to refs/heads/dev-1.1.1 by this push:
new 0ef3238 change log history gap from one day to an hour (#1799)
0ef3238 is described below
commit 0ef3238720bf1f33d8169787be4d8d53a4045e4d
Author: husofskyzy <[email protected]>
AuthorDate: Sun Mar 27 22:10:35 2022 +0800
change log history gap from one day to an hour (#1799)
* Update log4j2.xml
update log time from one day to an hour;
* Update log4j2.xml
* Update log4j2.xml
* add var pageNow to support paging
* add var pageNow to support paging
---
assembly-combined-package/assembly-combined/conf/log4j2.xml | 6 +++---
.../linkis/ujes/client/request/GetTableStatisticInfoAction.scala | 2 ++
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/assembly-combined-package/assembly-combined/conf/log4j2.xml
b/assembly-combined-package/assembly-combined/conf/log4j2.xml
index dbb9b10..be7c521 100644
--- a/assembly-combined-package/assembly-combined/conf/log4j2.xml
+++ b/assembly-combined-package/assembly-combined/conf/log4j2.xml
@@ -18,11 +18,11 @@
<configuration status="error" monitorInterval="30">
<appenders>
- <RollingFile name="RollingFile" append="false"
fileName="${env:LINKIS_LOG_DIR}/${sys:serviceName}.log"
-
filePattern="${env:LINKIS_LOG_DIR}/$${date:yyyy-MM}/${sys:serviceName}/linkis-log-%d{yyyy-MM-dd}-%i.log">
+ <RollingFile name="RollingFile" append="true"
fileName="${env:LINKIS_LOG_DIR}/${sys:serviceName}.log"
+
filePattern="${env:LINKIS_LOG_DIR}/$${date:yyyy-MM}/${sys:serviceName}/linkis-log-%d{yyyy-MM-dd-hh}-%i.log">
<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss.SSS} [%-5level]
[%-40t] %c{1.} (%L) [%M] - %msg%xEx%n"/>
<Policies>
- <TimeBasedTriggeringPolicy interval="1 hour" />
+ <TimeBasedTriggeringPolicy interval="1"/>
<SizeBasedTriggeringPolicy size="100MB"/>
</Policies>
<DefaultRolloverStrategy max="10"/>
diff --git
a/linkis-computation-governance/linkis-client/linkis-computation-client/src/main/scala/org/apache/linkis/ujes/client/request/GetTableStatisticInfoAction.scala
b/linkis-computation-governance/linkis-client/linkis-computation-client/src/main/scala/org/apache/linkis/ujes/client/request/GetTableStatisticInfoAction.scala
index e924f03..3392344 100644
---
a/linkis-computation-governance/linkis-client/linkis-computation-client/src/main/scala/org/apache/linkis/ujes/client/request/GetTableStatisticInfoAction.scala
+++
b/linkis-computation-governance/linkis-client/linkis-computation-client/src/main/scala/org/apache/linkis/ujes/client/request/GetTableStatisticInfoAction.scala
@@ -34,6 +34,7 @@ object GetTableStatisticInfoAction {
private var database: String = _
private var tableName: String = _
private var pageSize: Int = 100
+ private var pageNow: Int = 1
private var partitionSort: String = "desc"
def setUser(user: String): Builder = {
@@ -71,6 +72,7 @@ object GetTableStatisticInfoAction {
getTableStatisticInfoAction.setUser(user)
getTableStatisticInfoAction.setParameter("database", database)
getTableStatisticInfoAction.setParameter("tableName", tableName)
+ getTableStatisticInfoAction.setParameter("pageNow", pageNow)
getTableStatisticInfoAction.setParameter("pageSize", pageSize)
getTableStatisticInfoAction.setParameter("partitionSort", partitionSort)
getTableStatisticInfoAction
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]